Home Reference Houdini Object Model hou hou.Node 

hou.Node.moveToGoodPosition method

Moves a node to a well-spaced position near its inputs or outputs. Returns the new position of the node as a hou.Vector2.

moveToGoodPosition(self, relative_to_inputs=True, move_inputs=True, move_outputs=True, move_unconnected=True) → Vector2

This function will raise hou.ObjectWasDeleted if it is called on a node that no longer exists in Houdini.

Replaces: opautoplace