1

I would like to create a script that would evenly distribute the locations of some selected nodes so that I can better organize my node trees. I'm seeking a script solution for this issue, instead of using Node Wrangler, because Node Wrangler functionality is not available in Animation Nodes.

I imagine script would function something like:

  1. X = C.active_nodes
  2. For nodes in X find locations of left_most_node_location and right_most_node_location
  3. Set location of nodes to distance between left_most_node_location and right_most_node_location divided by the length of X

I'm not very good with Python, so I'm not really sure how I would write this for Blender.

enter image description here

ANimator120
  • 583
  • 3
  • 13

0 Answers0