remove_usd_sublayer
Remove a USD sublayer at a specified index from a stage's root layer composition stack, confirming removal and returning the updated sublayer count.
Instructions
Remove a sublayer by index from the stage's root layer's composition stack.
Returns: { stage_name: string, sublayer_index: int, removed: bool, new_count: int, errors: [string]? }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stage_name | Yes | Name the stage was registered under. | |
| sublayer_index | Yes | 0-based index into GetSubLayerPaths() of the root layer. |