Read Prim Attributes

Read Prim attributes and exposes them as dynamic attributes Does not produce output bundle.

Installation

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

Inputs

Name

Type

Description

Default

prim

target

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

Use Path (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 Path (primPath)

path

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

Attribute Name Pattern (attrNamesToImport)

string

A list of wildcard patterns used to match the attribute names that are to be imported Supported syntax of wildcard pattern: ‘’*’’ - match an arbitrary number of any characters ‘?’ - match any single character ‘^’ - (caret) is used to define a pattern that is to be excluded Example of wildcard patterns, input: [‘points’, ‘faceVertexCount’, ‘faceVertexIndices’, ‘size’] ‘’*’’ - match any ‘’*’ ^points’ - match any, but exclude ‘points’ ‘’*’ ^face’*’’ - match any, but exclude ‘faceVertexCount’ and ‘faceVertexIndices’

Time (usdTimecode)

timecode

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

NaN

Outputs

Name

Type

Description

Default

primBundle

bundle

A bundle of the target Prim attributes. In addition to the data attributes, there are token attributes named sourcePrimPath and sourcePrimType which contains the path of the Prim being read