add_usd_payload
Adds a USD payload composition arc to a prim, leaving payloads unloaded until an explicit Load rule loads them.
Instructions
Add a payload composition arc to a prim (load-on-demand; payloads are NOT loaded by the stage unless an explicit Load rule says so).
Returns: { stage_name: string, prim_path: string, asset_path: string, added: bool, position: string, errors: [string]? }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position | No | List position (same vocabulary as add_usd_reference). Default "BackOfPrependList". | |
| prim_path | Yes | Prim that owns the payload. | |
| asset_path | Yes | Identifier of the layer containing the payload. | |
| stage_name | Yes | Name the stage was registered under. | |
| prim_path_for_target | No | Prim inside the referenced layer to import. Empty (default) means '/'. |