Bundle Inspector

This node creates independent outputs containing information about the contents of a bundle attribute. It can be used for testing or debugging what is inside a bundle as it flows through the graph. The bundle is inspected recursively, so any bundles inside of the main bundle have their contents added to the output as well. The bundle contents can be printed when the node evaluates, and it passes the input straight through unchanged so you can insert this node between two nodes to inspect the data flowing through the graph.

Installation

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

Inputs

Name

Type

Description

Default

bundle

bundle

The attribute bundle to be inspected

print

bool

Setting to true prints the contents of the bundle when the node evaluates

inspectDepth

int

The depth that the inspector is going to traverse and print. 0 means just attributes on the input bundles. 1 means its immediate children. -1 means infinity.

1

Outputs

Name

Type

Description

Default

count

uint64

Number of attributes present in the bundle. Every other output is an array that should have this number of elements in it.

attributeCount

uint64

Number of attributes present in the bundle. Every other output is an array that should have this number of elements in it.

names

token[]

List of the names of attributes present in the bundle

types

token[]

List of the types of attributes present in the bundle

roles

token[]

List of the names of the roles of attributes present in the bundle

arrayDepths

int[]

List of the array depths of attributes present in the bundle

tupleCounts

int[]

List of the tuple counts of attributes present in the bundle

values

token[]

List of the bundled attribute values, converted to token format

childCount

uint64

Number of child bundles present in the bundle.

bundle

bundle

The attribute bundle passed through as-is from the input bundle