cm_switch

A switch that changes color

Updated: 2 August 2020

Author: cmccrowe

Compatible Nuke versions: 8.0 or later

Compatibility: Linux, Mac, Windows

This is an image of the switch changing color when the setting is changed

 

 

The expression:

 

[if {[value disable]==true} {

knob tile_color 0x4c0d00ff

brake}]

[if {[value which]<1} then {

knob tile_color 0xff0000ff

} elseif {[value which]==1} then {

knob tile_color 0xff00ff

} else {

knob tile_color 0xffff}]

[value this.which]

Sign in or register to download or rate.