There is a method ".autoplace" on node objects, e.g:

for n in nuke.allNodes():
    n.autoplace()

On 15/03/17 18:54, Darren Coombes wrote:
You know how you can align nodes by selecting and pressing L.
Then all nodes are aligned.

I see that in the script editor, it says the following after you do that.

_autoplace()


How would you invoke this in a python script?

Thanks.


*Check out some of my work…*
*www.vimeo.com/darrencoombes/reel2017*
<http://www.vimeo.com/darrencoombes/reel2017>
**
*Mob: **+61 418 631 079* <tel:+61%20418%20631%20079>
*IMDB: www.imdb.com/name/nm3719099/ <http://www.imdb.com/name/nm3719099/>*
*Instagram: @7secondstoblack*
*Instagram: @durwood0781*
*Skype:  darren.coombes81*
*Twitter:  @durwood81*



_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


--
ben dickson
2D TD | [email protected]
rising sun pictures | www.rsp.com.au
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to