Get Variant Selection

Get the variant selection on a prim

Installation

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

Inputs

Name

Type

Description

Default

primPath

path

Path of the prim to use when ‘usePath’ is true

usePath

bool

When true, the ‘primPath’ attribute is used; otherwise, it will read the connection at the ‘prim’ attribute

False

prim

target

The prim to use when ‘usePath’ is false

variantSetName

token

The variantSet name

Outputs

Name

Type

Description

Default

variantName

token

The variant name