Read USD Attribute Range
Given a path to a prim on the current USD stage and the name of an attribute on that prim, gets the requested range of that attribute array, at the global timeline value.
Installation
To use this Node, you must enable omni.flowusd
in the Extension Manager.
Inputs
Name |
Type |
Description |
Default |
---|---|---|---|
primPath |
|
The path of the prim to be modified when ‘usePath’ is true |
|
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 |
prim |
|
The prim to be read from when ‘usePath’ is false |
|
Attribute Name (name) |
|
The name of the attribute to get on the specified prim |
|
usdTimecode |
|
The time at which to evaluate the transform of the USD prim attribute. A value of -1 indicates that the default USD time stamp should be used |
-1 |
firstElement |
|
Index to the array attribute for the start of the range |
0 |
rangeSize |
|
Maximum Number of elements to include in the output. Set 0 to only get the size of the input array |
0 |
Outputs
Name |
Type |
Description |
Default |
---|---|---|---|
value |
|
The attribute value |
|
inputArraySize |
|
Size of the input array |
0 |