Stupid question are you still in one of the groups ?
or what if you get one of the groups and end it prior to adding the
camera to the root ?
Cheers
Johannes
On 11/05/2013 01:02 AM, Brandon Harris wrote:
I have not run that. This works in all contexts, but this one nuke
script. I can have the artist, in this instance, just delete the
groups and clean the script up a bit. More attempting to head off any
future issues that could potentially pop up.
cheers,
Brandon L. Harris
------------------------------------------------------------------------
*From:* nuke-python-boun...@support.thefoundry.co.uk
[nuke-python-boun...@support.thefoundry.co.uk] on behalf of Ean Carr
[m...@eancarr.com]
*Sent:* Monday, November 04, 2013 5:51 PM
*To:* Nuke Python discussion
*Subject:* Re: [Nuke-python] Creating nodes on the top level
I can't think of any reason why that wouldn't work...
with nuke.root():
# do stuff in root context
Did you try running nuke --safe just to check it's nothing about your
setup that's causing the odd behavior?
Cheers,
Ean
On Mon, Nov 4, 2013 at 11:45 PM, Brandon Harris
<brandon.har...@reelfx.com <mailto:brandon.har...@reelfx.com>> wrote:
Currently grasping at straws when it comes to this issue. I don't
have the option to willy nilly delete nodes from an artists'
comp. Is there some way to determine what about the group node
makes it the one Nuke uses for creating its nodes?
This is all probably the same thing, but I get the same issue using
node = nuke.root().run(nuke.nodes.Camera2)
cheers,
Brandon L. Harris
------------------------------------------------------------------------
*From:* nuke-python-boun...@support.thefoundry.co.uk
<mailto:nuke-python-boun...@support.thefoundry.co.uk>
[nuke-python-boun...@support.thefoundry.co.uk
<mailto:nuke-python-boun...@support.thefoundry.co.uk>] on behalf
of Brandon Harris [brandon.har...@reelfx.com
<mailto:brandon.har...@reelfx.com>]
*Sent:* Monday, November 04, 2013 5:29 PM
*To:* Nuke Python discussion
*Subject:* RE: [Nuke-python] Creating nodes on the top level
If I delete all the group nodes it works, but if there are ANY
group nodes in this script, no matter how I try to create the
nodes, it always puts them in a group...
cheers,
Brandon L. Harris
------------------------------------------------------------------------
*From:* nuke-python-boun...@support.thefoundry.co.uk
<mailto:nuke-python-boun...@support.thefoundry.co.uk>
[nuke-python-boun...@support.thefoundry.co.uk
<mailto:nuke-python-boun...@support.thefoundry.co.uk>] on behalf
of John Vanderbeck [jwvanderb...@gmail.com
<mailto: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>
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>
____ ESET 8964 (20131025) ____
The message was checked by ESET Mail Security.
_______________________________________________
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
____ ESET 8964 (20131025) ____
The message was checked by ESET Mail Security.
--
STUDIO RAKETE GmbH
Johannes Hezer, Compositing TD
Schomburgstr. 120
D - 22767 Hamburg
j.he...@studiorakete.de
Tel:+49 (0)40 - 380 375 69 - 0
Fax:+49 (0)40 - 380 375 69 - 99
------------------------------------------------------
Pflichtangaben laut Handelsgesetzbuch und GmbH-Gesetz:
STUDIO RAKETE GmbH
Schomburgstr. 120 D - 22767 Hamburg
www.studiorakete.de / i...@studiorakete.de
Geschaeftsfuehrer: Jana Bohl / Hans-Martin Rickers
Die Gesellschaft ist eingetragen im Handelregister des
Amtsgerichts Hamburg unter der Nummer HR B 95660
USt.-ID Nr.: DE 245787817
____ ESET 8964 (20131025) ____
The message was checked by ESET Mail Security.
_______________________________________________
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