Remove Array Value
Creates a copy of an input array where the first occurrence of the given value has been erased from said array copy. If “Remove All” is true then all occurrences of the value are removed.
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Array (inputs:array) |
|
The original array that serves as the basis for the output array. |
None |
Remove All (inputs:removeAll) |
|
If true, removes all occurrences of the value from the output array. |
False |
Metadata |
hidden = true |
||
Remove All (inputs:removeAllFound) |
|
If true, removes all occurrences of the value from the output array. |
False |
Value (inputs:value) |
|
The value to be removed from the output array. |
None |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Array (outputs:array) |
|
An array computed from the input array with the specified values removed. |
None |
Found (outputs:found) |
|
Set to true if a value was removed, false otherwise. |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.ArrayRemoveValue |
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Remove Array Value |
Categories |
math:array |
Generated Class Name |
OgnArrayRemoveValueDatabase |
Python Module |
omni.graph.nodes |