OmniGraph Node omni.graph.nodes.ReadPrimAttribute¶
omni.graph.nodes.ReadPrimAttribute Properties¶
Name |
Value |
---|---|
Version |
1 |
Extension |
omni.graph.nodes |
Icon |
ogn/icons/omni.graph.nodes.ReadPrimAttribute.svg |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Read Prim Attribute |
__categories |
sceneGraph |
Generated Class Name |
OgnReadPrimAttributeDatabase |
Python Module |
omni.graph.nodes |
omni.graph.nodes.ReadPrimAttribute Description¶
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.
omni.graph.nodes.ReadPrimAttribute Inputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
inputs:name |
token |
Y |
The name of the attribute to get on the specified prim |
|
inputs:prim |
bundle |
None |
The prim to be read from when ‘usePath’ is false |
|
inputs:primPath |
token |
None |
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 |
omni.graph.nodes.ReadPrimAttribute Outputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
outputs:value |
any |
None |
Y |
The attribute value |