remove_usd_attribute
Removes a prim attribute on a registered USD stage by deleting its scene description in the current edit target layer only, preserving composition from other layers and references.
Instructions
Remove one attribute from a prim on a registered USD stage by deleting its scene description in the current edit target layer only, so opinions from other layers or references can keep it composed. Idempotent: an absent attribute gives present=false and removed=false, not an error, and a relationship of that name counts as absent. A stage not registered under stage_name or a missing prim is an error. In memory only: save_usd_stage writes it. To keep the attribute and drop its values use clear_usd_attribute.
Returns: { prim_path: string, attr_name: string, removed: bool, present: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attr_name | Yes | Name of the attribute to remove, e.g. "size" | |
| prim_path | Yes | Absolute SdfPath of an existing prim on that stage, e.g. "/World/Cube". | |
| stage_name | Yes | Name the stage was registered under by open_usd_stage (default the file basename) or create_usd_stage (default "Untitled"). |