set_usd_prim_display_name
Sets the displayName metadata (a UI label) on an existing USD prim at the current edit target without renaming the prim. Returns display_name and set; not saved to disk.
Instructions
Author the displayName metadata (a UI label; the prim name does not change) on an existing prim of a registered USD stage, at the current edit target. An empty string is written as an empty displayName, not cleared. Returns display_name and set; not saved to disk.
Returns: { set: bool, display_name: 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. | |
| display_name | Yes | Label that UIs show instead of the prim name, e.g. "Hero Cube"; may be empty. |