Use nuke.createNode instead of nuke.nodes.
-Nathan
From: Rich Bobo
Sent: Wednesday, May 23, 2012 12:20 PM
To: Nuke-Users Mailing List List Postings
Subject: [Nuke-users] create new node position via Python script
Hi,
I'm sure this has been covered before, but I can't find a reference...
When creating a new node via a Python script, how do I make it appear in the
same location that it would if I created it in the usual ways? In other words,
if I have a node selected, it is connected below it - or if I click on an empty
space, it appears there? If it doesn't get connected to the selected node, I
would still be happy if it appeared where I clicked!
Thanks for any help,
Rich
Rich Bobo
Senior VFX Compositor
Mobile: (248) 840-2665
Web: http://richbobo.com/
--------------------------------------------------------------------------------
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users