Write Prim Attribute#

Given a path to a prim on the current USD stage and the name of an attribute on that prim, sets the value of that attribute. Does nothing if the given Prim or attribute can not be found. If the attribute is found but it is not a compatible type, an error will be issued.

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 modified when ‘usePath’ is false

Attribute Name (name)

token

The name of the attribute to set on the specified prim

execIn

execution

Input execution state

value

any

The new value to be written

Persist To USD (usdWriteBack)

bool

Whether or not the value should be written back to USD, or kept a Fabric only value

True

Outputs#

Name

Type

Description

Default

execOut

execution

Output execution