SetRelationshipTargetsCommand#

class omni.usd.commands.SetRelationshipTargetsCommand(
relationship: Relationship,
targets: List[Path],
)#

Bases: RelationshipTargetBase

Set target(s) to a relationship.

Methods

__init__(relationship, targets)

Constructor.

do()

__init__(
relationship: Relationship,
targets: List[Path],
)#

Constructor.

Parameters:
  • relationship (Usd.Relationship) – Relationship handle.

  • targets (List[Sdf.Path]) – A list of target paths to set for the relationship.