create_variant_structure
Adds a variant set to a prim, creates empty variant bodies, and sets the default variant to scaffold USD variant structures.
Instructions
Create variant set boilerplate on a prim.
Adds the variant set, creates empty variant bodies, and sets the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prim_path | Yes | The prim to add the variant set to | |
| variant_names | Yes | The variants to create, e.g. ["focused", "shell"] | |
| default_variant | No | The variant selected at first; the first when empty | |
| variant_set_name | Yes | The new variant set's name, e.g. "model" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |