RemoveReferenceCommand#

class omni.usd.commands.RemoveReferenceCommand(
stage: Stage,
prim_path: Path,
reference: Reference,
)#

Bases: ReferenceCommandBase

Remove specified reference from primitive.

Methods

__init__(stage, prim_path, reference)

Constructor.

do()

__init__(
stage: Stage,
prim_path: Path,
reference: Reference,
)#

Constructor.

Parameters:
  • stage (Usd.Stage) – The stage to operate.

  • prim_path (Sdf.Path) – The prim path to remove the reference.

  • reference (Sdf.Reference) – The specified reference to be removed.