AddReferenceCommand#
- class omni.usd.commands.AddReferenceCommand(
 - stage: Stage,
 - prim_path: Path,
 - reference: Reference,
 - position: ListPosition = Usd.ListPositionBackOfPrependList,
 Bases:
ReferenceCommandBaseAdd reference to primitive.
Methods
__init__(stage, prim_path, reference[, position])Constructor.
do()- __init__(
 - stage: Stage,
 - prim_path: Path,
 - reference: Reference,
 - position: ListPosition = Usd.ListPositionBackOfPrependList,
 Constructor.
- Parameters:
 stage (Usd.Stage) – The stage to operate.
prim_path (Sdf.Path) – The prim path to add reference.
reference (Sdf.Reference) – The reference to be added.
position (Usd.ListPosition) – The list position to add the reference. Defaults to Usd.ListPositionBackOfPrependList.