Macro to align selected points with existing.

Started by Rob S, January 22, 2023, 08:25:59 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Rob S

This Macro comes to you thanks to a very polite feature request from M.E., and the solution posted by BDeck, with a bit of subsequent editing from myself to add the menu choices.

It can be used in its simplest implementation to shift a selected point or points of an entity (using point select mode) so that its reference point will align with any other point of a drawing, by moving it/them along one of the three axes perpendicular to the desired alignment.

It can also be used to shift any selected set of points by any distance or direction chosen from new or existing points in the drawing, with or without constraining the move to be axial.

Seems to me this could be very useful, so I am posting it here for easier access now and in the future. 

Please let us know any issues, and of course you are free to edit and improve on this to suit yourself.

ps Corrected version posted 2023 01 22 to fix UNDO for the 0 option.

User since forever