Extract Attribute Array Length
Outputs the length of a specified array attribute in an input bundle, or 1 if the attribute is not an array attribute
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Attribute Name (inputs:attrName) |
|
Name of the attribute whose array length will be queried |
points |
Attribute Bundle (inputs:data) |
|
Collection of attributes that may contain the named attribute |
None |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Array Length (outputs:length) |
|
The length of the array attribute in the input bundle |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.ArrayLength |
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Extract Attribute Array Length |
Categories |
math:array |
Generated Class Name |
OgnArrayLengthDatabase |
Python Module |
omni.graph.nodes |