CreateDefaultXformOnPrimCommand#

class omni.usd.commands.CreateDefaultXformOnPrimCommand(prim_path: str, stage: Stage)#

Bases: Command

Create default xformOp on prim.

Methods

__init__(prim_path, stage)

Constructor.

do()

undo()

__init__(
prim_path: str,
stage: Stage,
)#

Constructor.

Parameters:
  • prim_path (str) – Path of the primitive to be create xform attribtues

  • stage (Usd.Stage) – The USD stage to operate.