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>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 > [image: 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 > >
_______________________________________________ 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