set_usd_prim_instanceable
Set or clear a USD prim's instanceable metadata to enable native instancing, operating on the current edit target of a registered stage.
Instructions
Set or clear the instanceable metadata (USD native instancing) of an existing prim on a registered USD stage, at the current edit target. Returns instanceable (the requested value, or the current one when the write fails) and set. Not saved to disk.
Returns: { instanceable: bool, prim_path: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prim_path | Yes | Absolute SdfPath of an existing prim, e.g. "/World/Cube". | |
| stage_name | No | Name the stage was registered under by create_usd_stage or open_usd_stage; a stage already in the USD cache also matches by the end of its root layer identifier. | |
| instanceable | No | true to mark instanceable, false to clear; omitted means true. |