Read Prim Attribute

Given a path to a prim on the current USD stage and the name of an attribute on that prim, gets the value of that attribute, at the global timeline value.

Installation

To use this Node, you must enable omni.graph.nodes in the Extension Manager.

Inputs

Name

Type

Description

Default

primPath

token

The path of the prim to be modified when ‘usePath’ is true

usePath

bool

When true, the ‘primPath’ attribute is used as the path to the prim being read, otherwise it will read the connection at the ‘prim’ attribute

False

prim

target

The prim to be read from when ‘usePath’ is false

Attribute Name (name)

token

The name of the attribute to get on the specified prim

Time (usdTimecode)

timecode

The time at which to evaluate the transform of the USD prim attribute. A value of NaN indicates that the default USD time stamp should be used

NaN

Outputs

Name

Type

Description

Default

value

any

The attribute value