ChangeMetadataInPrimsCommand#
- class omni.usd.commands.ChangeMetadataInPrimsCommand(
- prim_paths: List[str],
- key: Any,
- value: Any,
- usd_context_name: str = '',
Bases:
Command
Deprecated. Modifies metadata of multiple primitives.
See command
ChangeMetadataCommand
, which provides the same functionalities.Methods
__init__
(prim_paths, key, value[, ...])Constructor.
do
()undo
()- __init__(
- prim_paths: List[str],
- key: Any,
- value: Any,
- usd_context_name: str = '',
Constructor.
- Parameters:
prim_paths (List[str]) – Prim paths.
key (Any) – Key of metadata to change.
value (Any) – Value of metadata to change to.
usd_context_name (str, optional) – Name of the usd context to work on. Leave to “” to use default USD context.