ChangeMetadataInPrimsCommand
- class omni.usd.commands.ChangeMetadataInPrimsCommand(prim_paths: List[str], key: Any, value: Any, usd_context_name: str = '')
Bases:
Command
Change prim metadata undoable Command.
- Parameters
prim_paths (List[str]) – Prim paths.
key – Key of metadata to change.
value – Value of metadata to change to.
usd_context_name (str) – Name of the usd context to work on. Leave to “” to use default USD context.
Methods
__init__
(prim_paths, key, value[, ...])do
()undo
()- __init__(prim_paths: List[str], key: Any, value: Any, usd_context_name: str = '')