Move selected objects to center of bounding box.

Move selected objects to center of bounding box.

nguyenvantai06121998
Observer Observer
266 Views
2 Replies
Message 1 of 3

Move selected objects to center of bounding box.

nguyenvantai06121998
Observer
Observer

Hi everyone, I want to create an AutoCAD Lisp with the following content:

  1. Select objects.
  2. Move the selected objects to the center of any bounding box.
    Thank you for reading and helping !z5063880664126_43c1f39463f87fa031be4ca8c7a133d8.jpg
0 Likes
267 Views
2 Replies
Replies (2)
Message 2 of 3

paullimapa
Mentor
Mentor

No need for lisp. Just use AutoCADs built in Geometric Center object snap

https://blogs.rand.com/support/2015/09/autocad-2016-geometric-center.html


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
Message 3 of 3

Kent1Cooper
Consultant
Consultant

You show the "to" point for the MOVE, but what would be the "from" point?  The middle of the extents of the selected objects collectively?  Or should each object Move from its own base point, all separately to the target point?  Or...?

Kent Cooper, AIA
0 Likes