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 enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Exec In (inputs:execIn) |
|
Signal to the graph that this node is ready to be executed. |
None |
Attribute Name (inputs:name) |
|
The name of the attribute to set on the specified prim |
|
Prim (inputs:prim) |
|
The prim to be modified when ‘usePath’ is false |
None |
Prim Path (inputs:primPath) |
|
The path of the prim to be modified when ‘usePath’ is true |
|
Persist To USD (inputs:usdWriteBack) |
|
Whether or not the value should be written back to USD, or kept a Fabric only value |
True |
Use Path (inputs:usePath) |
|
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 |
Value (inputs:value) |
|
The new value to be written |
None |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Exec Out (outputs:execOut) |
|
Signal to the graph that execution can continue downstream. |
None |
State
Name |
Type |
Descripton |
Default |
---|---|---|---|
Correctly Setup (state:correctlySetup) |
|
Whether or not the instance is properly setup |
False |
Dest Attrib (state:destAttrib) |
|
A TokenC to the destination attrib |
None |
Dest Path (state:destPath) |
|
A PathC to the destination prim |
None |
Dest Path Token (state:destPathToken) |
|
The TokenC version of destPath’ |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.WritePrimAttribute |
Version |
2 |
Extension |
omni.graph.nodes |
Icon |
ogn/icons/omni.graph.nodes.WritePrimAttribute.svg |
Has State? |
True |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Write Prim Attribute |
Categories |
sceneGraph |
Generated Class Name |
OgnWritePrimAttributeDatabase |
Python Module |
omni.graph.nodes |