Can't figure out how to setup an expression for one of the attributes of the
roto/rotoshape shape, opacity for example.
import nuke
shps = nuke.toNode( 'Roto1' )['curves'].rootLayer
for shp in shps:
attrs = shp.getAttributes()
shp.set( 'opc', 0.5 )
Works like that, but how to set an expression instead of value? No
setExpression method for AnimAttributes.
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python