CreateDefaultXformOnFabricPrimCommand#
- class omni.fabric.commands.scripts.CreateDefaultXformOnFabricPrimCommand(
- prim_path: str,
- stage: Stage,
Bases:
Command
A command to create and apply a default transform to a Fabric prim at a specified path.
- Parameters:
prim_path – str The Fabric path where the prim is located.
stage – usdrt.Usd.Stage The stage where the prim resides.
Methods
__init__
(prim_path, stage)Creates and applies a default transform to a Fabric prim.
do
()Executes the command to create and apply a default transform to a Fabric prim at a specified path.
undo
()Undoes the default transform to the Fabric prim.
- __init__(
- prim_path: str,
- stage: Stage,
Creates and applies a default transform to a Fabric prim.
- do()#
Executes the command to create and apply a default transform to a Fabric prim at a specified path.
- undo()#
Undoes the default transform to the Fabric prim.