So the idea is to have a check for that knob and if it's on, go ahead and assume the node larger. I could see that working. Not as elegant as I was hoping for, but it works.
cheers, Brandon L. Harris ________________________________ From: nuke-python-boun...@support.thefoundry.co.uk [nuke-python-boun...@support.thefoundry.co.uk] on behalf of Richard Bobo [richb...@mac.com] Sent: Friday, October 18, 2013 11:12 AM To: Nuke Python discussion Subject: Re: [Nuke-python] Refreshing nuke nodes during a script Brandon, I don't know if this will help you or not, but… In an EXR breakout script I built, I have a postage_stamps variable that offsets the node that connects below the Shuffles. If postage_stamps is True, I use a .ypos()+90, otherwise it's +40. And, since I use relative positioning in building my schematic, everything shifts down to make way for any nodes that have postage stamps turned on… Rich Rich Bobo Senior VFX Compositor Armstrong-White http://armstrong-white.com/ Email: richb...@mac.com<mailto:richb...@mac.com> Mobile: (248) 840-2665 Web: http://richbobo.com/ "We make a living by what we get, but we make a life by what we give." - Norman MacFinan On Oct 18, 2013, at 11:55 AM, Brandon Harris <brandon.har...@reelfx.com<mailto:brandon.har...@reelfx.com>> wrote: I have a tool that is creating and organizing nodes. I'm taking the channels from an exr and shuffling them out. The issue I have is that I want to turn on the postage stamp on the shuffle node and this changes the size of the node, but not until after my creation script has finished running. This makes my alignment functions not work properly. Anyway to force nuke to process and redraw that node before the script ends? cheers, Brandon L. Harris [www.freebirdsmovie.com]<http://www.freebirdsmovie.com>_______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk<mailto:Nuke-python@support.thefoundry.co.uk>, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python [www.freebirdsmovie.com]<http://www.freebirdsmovie.com>
_______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python