Perfect! Thanks Justin. > On 22 Apr 2015, at 16:57, Justin GD <[email protected]> wrote: > > Hi Howard, > > If I understand you want to set different expression for each box field ? > You could do it like this : > > nuke.selectedNode()['box'].setExpression(stringExp1,0) #box.x > nuke.selectedNode()['box'].setExpression(stringExp2,1) #box.y > nuke.selectedNode()['box'].setExpression(stringExp3,2) #box.r > nuke.selectedNode()['box'].setExpression(stringExp4,3) #box.t > > Cheers, > J > > 2015-04-22 16:44 GMT+01:00 Howard Jones <[email protected] > <mailto:[email protected]>>: > Hi > > How do you set expressions in a crop pythonically. > I’d like to set a crop to > “bbox.x”, “bbox.y”, “bbox.r”, “bbox.t” > but so far I have only set all 4 the same > > Any help greatly appreciated. > > Howard > > _______________________________________________ > Nuke-python mailing list > [email protected] > <mailto:[email protected]>, > http://forums.thefoundry.co.uk/ <http://forums.thefoundry.co.uk/> > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > <http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python> > > > _______________________________________________ > Nuke-python mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
