Get Prims

Filters primitives in the input bundle by path and type.

Installation

To use this Node, you must enable omni.graph.nodes in the Extension Manager.

Inputs

Name

Type

Description

Default

bundle

bundle

The bundle to be read from

Inverse (inverse)

bool

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 (pathPattern)

string

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’

Type Pattern (typePattern)

string

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

Description

Default

bundle

bundle

The output bundle that contains filtered primitives