Hi Bill,

The dot node will take a tile color however, I've only been able to 
successfully set an expression to the tile_color via python -- not to say it 
isn't possible via tcl, I'm just not sure how.

When setting an expression via python 2 things happen:

1. The dot node gets the green "e" badge showing there is an expression 
attached -- that may not be an issue for you.
2. The dot node then links a green expression arrow to the node directly above 
it -- yes, you can turn these off, so again, it may not be an issue.

* I'm not aware of a way to turn off node badges and expression arrows on a 
case-by-case basis -- that would be cool...

I may have achieved what you are looking for with the following function and 
callback -- note: it's assuming your dot node is named "_dot_".

def dotTopColor():
        d=nuke.toNode('_dot_')
        d['tile_color'].setExpression('[value [topnode].tile_color]')

nuke.addUpdateUI(dotTopColor)

Hope this helps...

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

Reply via email to