CreatePrimsCommand
- class omni.usd.commands.CreatePrimsCommand(prim_types: List[str], usd_context_name: Optional[str] = None)
Bases:
Command
Create multiple primitives undoable Command.
Example of command which calls other commands. Undo/Redo grouping handled automatically.
- Parameters
prim_types (List[str]) – List of primitive types to create, e.g [“Sphere”, “Cone”].
Methods
__init__
(prim_types[, usd_context_name])do
()undo
()- __init__(prim_types: List[str], usd_context_name: Optional[str] = None)