add_usd_variant_set
Create an empty USD variant set on a specified prim at a chosen list position; returns already_existed when the set is already present.
Instructions
Author a new (empty) variant set on a prim at the requested list position; idempotent (returns already_existed:true when the set is already present)
Returns: { prim_path: string, variant_set_name: string, created: bool, already_existed: bool, position: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position | No | One of FrontOfPrependList / BackOfPrependList / FrontOfAppendList / BackOfAppendList (default BackOfPrependList, matching the USD wrapper default) | |
| prim_path | Yes | SdfPath of the prim that will author the variant set | |
| stage_name | No | Stage cache key | |
| variant_set_name | Yes | Name of the variant set to create |