I added your Python script to the macro.
1st script CenterOnOrigin.py works charming.
Is it possible to keep objects’ relative positions when I move several objects at once?
I don’t understand how to use the 2nd and 3rd scripts.
They give errors as shown in the video. MoveProject.py gives an error and MoveProjectEach.py is unresponsive.
Moving an object from its bounding box center to the world origin can also be done with the gumball.
Select the object and drag the gumball origin, then type 0 and let go LMB.
Have you tried aligning the object on the XY plane with the _Align command? Works well for me in either Front or sideview and the standard CPlane or in Perspective with the CPlane set to World Front…
@Helvetosaur, Thank you very much!
Yes, this script gives an option about moving objects as a group, but it only moves objects above ground, not to the world origin. Is it possible to settle objects on the ground and above world origin?
The logic I need is like this:
I like to move objects/object from their/it bounding box bottom center to the world origin.
I hope anyone can help.
I need to do this because if I like to send the geometries to Keyshot via Keyshot-Rhino bridge, it is better to put the objects at the center of the world and above the ground.
I need to make a shortcut which can put selected objects at the world center and also above the ground. When I move many things their relative position should remain the same. @pascal 's script is good, but the objects will be moved separately, and their relative position will be compromised.
Move to above the the world origin.gh (6.4 KB)
I solved it using Grasshopper Player.
I made the definition and ran it with macro.
The downside of this solution is you have to load Grasshopper.
I try to compile this definition into a plugin, but that didn’t happen because some kind of bug in the compiler.