Query/Set node position in Hypershade


Anyone knows if it’s possible to do so?

Doesn’t seems to be possible with maya.cmds.
Open Maya API maybe?


probably yes, cause i remember there was a script for tidying up nodes.
The script was able to align the nodes in a raw etc.


here it is