RemoveAPIFromPrimsCommand#
- class omni.usd.commands.RemoveAPIFromPrimsCommand(
- paths: List[str],
- api_schema: str,
- api_instance: str = '',
- stage_or_context: str | Stage | UsdContext = None,
Bases:
Command
Removes API schema from prims.
Methods
__init__
(paths, api_schema[, api_instance, ...])do
()undo
()- __init__(
- paths: List[str],
- api_schema: str,
- api_instance: str = '',
- stage_or_context: str | Stage | UsdContext = None,
- Parameters:
paths – prim path to become parent of child_paths
api_schema (str) – name of API to append to prim(s)
api_instance (str) – name of API instance to append to prim(s). Can be “”
stage_or_context (Union[str, Usd.Stage, omni.usd.UsdContext], optional) – Stage or UsdContext applies the changes to. It can be instance of Usd.Stage or omni.usd.UsdContext, or context name. By default, it will apply the changes to the stage in default UsdContext.