OmniGraph Node omni.graph.action.AddPrimRelationship

omni.graph.action.AddPrimRelationship Properties

Name

Value

Version

1

Extension

omni.graph.action

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Add Prim Relationship

__categories

sceneGraph

Generated Class Name

OgnAddPrimRelationshipDatabase

Python Module

omni.graph.action

omni.graph.action.AddPrimRelationship Description

Adds a target path to a relationship property. If the relationship property does not exist it will be created. Duplicate targets will not be added.

omni.graph.action.AddPrimRelationship Inputs

Name

Type

Default

Required?

Descripton

inputs:execIn

execution

None

Y

The input execution port.

inputs:name

token

Y

Name of the relationship property.

uiName

Relationship Name

inputs:path

path

Y

Path of the prim with the relationship property.

uiName

Prim Path

inputs:target

path

Y

The target path to be added, which may be a prim, attribute or another relationship.

uiName

Target Path

omni.graph.action.AddPrimRelationship Outputs

Name

Type

Default

Required?

Descripton

outputs:isSuccessful

bool

None

Y

Whether the node has successfully added the new target to the relationship.

uiName

Is Successful