I’ve got this working somewhat where the knob simply changes color.  
MyNode.('tile_color').setValue(0xff000000)

So I’m on the right track.  Still can’t seem to find the specific reference 
knob font color.  
I see that I can set a specific knob to be visible or not using something like:

(‘MyKnob').setVisible(True)


Is there a way of changing it’s font color?

Michael



> On Mar 13, 2017, at 11:17 AM, Michael Hodges <[email protected]> wrote:
> 
> I’m starting to create gizmos with more complexity.
> 
> I want to have visual indicators for the artist that signal conditions that 
> are going on inside the Gizmo.
> 
> Usually a warning or a condition being true or false ( file exists, etc ).
> 
> I’ve been using a Checkbox as that seemed to be what was available through 
> the user knob management.
> 
> 
> [X]  File Exists
> [  ]  File is .MOV
> 
> Obviously, that isn’t the best solution as it allows the user to monkey with 
> the knob and/or expression.
> 
> Are there expressions that could conditionally change the color of fonts (or 
> text value) of specific knobs in a groups parent node that would carry over 
> into a gizmo?
> 
> Any other solutions or documentation I should be looking at?
> 
> Thanks,
> 
> Michael
> 
> _______________________________________________
> Nuke-users mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to