I'm doing this. They're still getting created inside of a group node. I have a feeling something about this particular script is making it behave oddly.
cheers, Brandon L. Harris ________________________________ From: nuke-python-boun...@support.thefoundry.co.uk [nuke-python-boun...@support.thefoundry.co.uk] on behalf of John Vanderbeck [jwvanderb...@gmail.com] Sent: Monday, November 04, 2013 5:20 PM To: Nuke Python discussion Subject: Re: [Nuke-python] Creating nodes on the top level with nuke.root(): create node - John Vanderbeck - http://www.johnvanderbeck.com On Mon, Nov 4, 2013 at 3:18 PM, Brandon Harris <brandon.har...@reelfx.com<mailto:brandon.har...@reelfx.com>> wrote: This is a resend because ctrl+enter gets me all the time. I'm creating cameras, but they always seem to get created inside of a group node that is on the top level of my script. I've tried root = nuke.root() with root: nuke.nodes.Camera() root.begin() nuke.nodes.Camera() root.end() nuke.createNode('Camera') Nothing seems to work. Is there a way to force a node to be created at a particular level or a way other than node.begin() to set what the current 'root' level is? Thanks! 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