add_usd_variant
Adds a named variant to an existing USD variant set at a specified list position; idempotent and reports already_existed when present.
Instructions
Add a new variant to an existing variant set at the requested list position; idempotent (returns already_existed:true when the variant is already present)
Returns: { prim_path: string, variant_set_name: string, variant_name: string, added: bool, already_existed: bool, position: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position | No | One of FrontOfPrependList / BackOfPrependList / FrontOfAppendList / BackOfAppendList (default BackOfPrependList) | |
| prim_path | Yes | SdfPath of the prim that authors the variant set | |
| stage_name | No | Stage cache key | |
| variant_name | Yes | Name of the variant to add | |
| variant_set_name | Yes | Variant set that will receive the new variant |