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, 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

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