Set Variant Selection

Set the variant selection on a prim

Installation

To use this node enable omni.graph.nodes in the Extension Manager.

Inputs

Name

Type

Descripton

Default

Exec In (inputs:execIn)

execution

Signal to the graph that this node is ready to be executed.

None

Prim (inputs:prim)

target

The prim with the variantSet

None

Set Variant (inputs:setVariant)

bool

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

False

Variant Name (inputs:variantName)

token

The variant name

Variant Set Name (inputs:variantSetName)

token

The variantSet name

Outputs

Name

Type

Descripton

Default

Exec Out (outputs:execOut)

execution

Signal to the graph that execution can continue downstream.

None

Metadata

Name

Value

Unique ID

omni.graph.nodes.SetVariantSelection

Version

2

Extension

omni.graph.nodes

Icon

ogn/icons/omni.graph.nodes.SetVariantSelection.svg

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Set Variant Selection

Categories

graph:action,sceneGraph,variants

Generated Class Name

OgnSetVariantSelectionDatabase

Python Module

omni.graph.nodes