Set Variant Selection

Set 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

execIn

execution

The input execution

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

variantName

token

The variant name

variantSetName

token

The variantSet name

setVariant

bool

Sets the variant selection when finished rather than writing to the attribute values

False

Outputs

Name

Type

Description

Default

execOut

execution

The output execution