yourNode.knob('xpos').setValue(x) should help you (and you can probably
also set the xpos and ypos on creation)On Mon, Nov 12, 2012 at 11:13 PM, brandon harris <[email protected]>wrote: > Also, this is using nuke.nodes to create my nodes. I have wrapper > utilities to create the nodes and I don't use nuke.createNode. > > Brandon L. Harris > ________________________________________ > From: [email protected] [ > [email protected]] on behalf of brandon harris > [[email protected]] > Sent: Monday, November 12, 2012 4:07 PM > To: [email protected] > Subject: [Nuke-python] Very Newbish Question > > I can't seem to find any information to help me work this problem out. I > have tools to generate nodes for artists, but I always just generate the > nodes at 0, 0 which can be a little flow breaking since the artist has to > zoom out and pan over to get them. In really large scripts this can be > especially annoying. > > Is there a way to find coordinates that exist in the artists current node > graph position? I can pull in pan, but setting the nodes x and y to those > values doesn't work. Anyway to accomplish this? > > Brandon L. Harris > _______________________________________________ > Nuke-python mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > _______________________________________________ > Nuke-python mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > -- *Luca Fiorentini - 3D Lighting Artist* My Showreel <http://www.vimeo.com/lucafiorentini/reel> - My blog<http://lucafiorentini.wordpress.com>- My Flickr <http://www.flickr.com/photos/lucafiorentini>
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
