Get Prims
Filters primitives in the input bundle by path and type.
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Bundle (inputs:bundle) |
|
The bundle to be read from |
None |
Inverse (inputs:inverse) |
|
By default all primitives matching the path patterns and types are added to the output bundle; when this option is on, all mismatching primitives will be added instead. |
False |
Path Pattern (inputs:pathPattern) |
|
A list of wildcard patterns used to match primitive path. Supported syntax of wildcard pattern: * - match an arbitrary number of any characters ? - match any single character ^ - (caret) is used to define a pattern that is to be excluded Example of wildcard patterns, input: [‘/Cube0’, ‘/Cube1’, ‘/Box’] ‘*’ - match any ‘* ^/Box’ - match any, but exclude ‘/Box’ ‘* ^/Cube*’ - match any, but exclude ‘/Cube0’ and ‘/Cube1’ |
|
Prims (inputs:prims) |
|
The prim to be extracted from Multiple Primitives in Bundle. |
None |
Metadata |
allowMultiInputs = 1 |
||
Type Pattern (inputs:typePattern) |
|
A list of wildcard patterns used to match primitive type. Supported syntax of wildcard pattern: * - match an arbitrary number of any characters ? - match any single character ^ - (caret) is used to define a pattern that is to be excluded Example of wildcard patterns, input: [‘Mesh’, ‘Cone’, ‘Cube’] ‘*’ - match any ‘* ^Mesh’ - match any, but exclude ‘Mesh’ ‘* ^Cone ^Cube’ - match any, but exclude ‘Cone’ and ‘Cube’ |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Bundle (outputs:bundle) |
|
The output bundle that contains filtered primitives |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.GetPrims |
Version |
2 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Get Prims |
Categories |
bundle |
Generated Class Name |
OgnGetPrimsDatabase |
Python Module |
omni.graph.nodes |