L is calling the built-in _autoplace function (which may just be a binding wrapper for the .autoplace node method... not sure on that one). The sort-of-bottom-line there is that in order to modify that functionality, you’d have to write your own autoplace-style function and either monkey-patch the nuke module, re-bind the L hotkey, or just bind your function to some other key. It wouldn’t be too hard, but it’s not quite as simple as passing the built-in one a different variable or editing the nukescripts module.
-Nathan From: Jason Nguyen Sent: Saturday, April 02, 2011 4:57 PM To: Nuke Python discussion Subject: [Nuke-python] reassign the "L" hotkey to align the nodes graph Hi, Nuke currently aligning the nodes with B input across from left to right & A input top to bottom when hitting "L" in the node graph. Is there a way to reassign this so that it would go reverse with "B" inputs go top to bottom & "A" inputs on the left? Thanks, J -------------------------------------------------------------------------------- _______________________________________________ Nuke-python mailing list [email protected] http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________ Nuke-python mailing list [email protected] http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
