OmniGraph Node omni.graph.nodes.WritePrimAttribute¶
omni.graph.nodes.WritePrimAttribute Properties¶
Name |
Value |
---|---|
Version |
1 |
Extension |
omni.graph.nodes |
Icon |
ogn/icons/omni.graph.nodes.WritePrimAttribute.svg |
Has State? |
False |
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 |
omni.graph.nodes.WritePrimAttribute Description¶
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.
omni.graph.nodes.WritePrimAttribute Inputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
inputs:execIn |
execution |
None |
Y |
Input execution state |
inputs:name |
token |
Y |
The name of the attribute to set on the specified prim |
|
inputs:prim |
bundle |
None |
The prim to be modified when ‘usePath’ is false |
|
inputs:primPath |
token |
Y |
The path of the prim to be modified when ‘usePath’ is true |
|
inputs:usePath |
bool |
False |
Y |
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 |
__default |
false |
|||
inputs:value |
any |
None |
Y |
The new value to be written |
omni.graph.nodes.WritePrimAttribute Outputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
outputs:execOut |
execution |
None |
Y |
Output execution |