How can I point the middle of the object to the move command to move an object in a macro?
Let me explain with example;
when I run the macro with the object selected
AreaCentroid Move Sellast
area doesn’t choose the point I created with centroid as coordinate, how can I achieve this?
sorry for my bad english, thanks in advance for your help
Hello - you’ll need a script for this, a macro will not work here - SelLast selects the last edited or created object in the Rhino document. You can sort of make it work if you are willing to snap to the point created by AreaCentroid
SelLast
! _AreaCentroid _Move _OSnap _Point=_Yes _Enter
but that leaves a point object.
-Pascal
I don’t know how to write scripts, can you give an example how can I do this with script?