Reviewing the Options CSV#
This CSV file contains every possible option, and these options are referenced by the Packages CSV. Open the CSV file and review the rules for how this file is structured:
The first row is a header, and should not contain any options. What is entered into this row will not impact the resulting JSON output.
Column A should contain a unique ID for the option (NOTE: each row represents an option).
Column B should contain a prim path.
Column C should contain a variantSet. This variantSet should exist on the prim from column 2.
Column D should optionally contain a label for the variantSet. This value can be empty if a label is not required.
Column E should contain a variant. This variant should be an available option on the variant set from column 3.
Column F should optionally contain a label for the variant. This value can be empty if a label is not required.
Column G should contain an optional graphic.
Column H should contain an optional event.
Note
The inclusion of Columns G and H are not implemented via the JSON conversion sample script, and should be implemented by a developer if required for the use case.
Here are some examples of options from the Concept Car asset:
Id |
Prim Path |
Variant Set |
Option / Category (Optional) |
Variant |
Value Display Name (Optional) |
Graphic (Optional) |
Event (Optional) |
0 |
/World |
Doors |
Doors |
AllFront_Open |
AllFront_Open |
||
1 |
/World |
Doors |
Doors |
AllLeft_Open |
AllLeft_Open |
||
2 |
/World |
Doors |
Doors |
AllRear_Open |
AllRear_Open |
||
3 |
/World |
Doors |
Doors |
AllRight_Open |
AllRight_Open |
||
4 |
/World |
Doors |
Doors |
All_Closed |
All_Closed |
||
5 |
/World |
Doors |
Doors |
All_Open |
All_Open |