Clear Variant Selection

This node will clear the variant selection of the prim on the active layer. Final variant selection will be determined by layer composition below your active layer. In a single layer stage, this will be the fallback variant defined in your variantSet.

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 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.ClearVariantSelection

Version

2

Extension

omni.graph.nodes

Icon

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

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Clear Variant Selection

Categories

graph:action,sceneGraph,variants

Generated Class Name

OgnClearVariantSelectionDatabase

Python Module

omni.graph.nodes