This program is an autolisp routine for aligning objects in X , Y and Z axis to the right, left, top, center etc. Objects can be preselected. The user can specify the target point where the objects are supposed to be aligned or can press enter not specifying the point. When the point is not specified the program aligns the objects to the one side of the whole selection (depending on a command). The program works in UCS as well as in WCS.
NOTE: -For SPLINES and MTEXT objects with complex formatting results may not be as expected.
Command: ALIGNTOLEFT
Aligns left side of selected objects to the left border of selection or to the specified point.
Command: ALIGNTORIGHT
Aligns right side of selected objects to the right border of selection or to the specified point.
Command: ALIGNTOTOP
Aligns top side of selected objects to the top border of selection or to the specified point.
Command: ALIGNTOBOTTOM
Aligns bottom side of selected objects to the bottom border of selection or to the specified point.
Command: ALIGNTOTOPZ
Aligns top side (in Z axis) of selected objects to the top border of selection or to the specified point.
Command: ALIGNTOBOTTOMZ
Aligns bottom side (in Z axis) of selected objects to the bottom border of selection or to the specified point.
Command: ALIGNTOCENTERX
Aligns center of each object from the selection set to the center of selection in X axis or to the specified point.
Command: ALIGNTOCENTERY
As above but in Y axis.
Command: ALIGNTOCENTERZ
As above but in Z axis.
Example (click image to enlarge):
Version history:
v1.00 - 06.08.2022 - first release
v1.01 - 25.05.2024 - updated dealing with phantom objects
File format:
.FAS
Compatibility:
-All Autocad versions. Platform Windows
Remarks:
-The application comes with the long command names listed above. To create your own short aliases for these commands, go to ACAD.PGP file or Menu Manage->Customization->Edit aliases->Edit Aliases.
Aliases used in the video:
ALL - ALIGNTOLEFT
ALR - ALIGNTORIGHT
ALT - ALIGNTOTOP
ALB - ALIGNTOBOTTOM
ALTZ - ALIGNTOTOPZ
ALBZ - ALIGNTOBOTTOMZ
ALCZ - ALIGNTOCENTERX
ALCY - ALIGNTOCENTERY
ALCZ - ALIGNTOCENTERZ
DEMO:
-Demo version is limited to 3 runs and valid for one day. Platform: Windows. ALIGN_TO_LEFT_RIGHT_TOP_BOTTOM_v1_01_DEMO.FAS
No comments:
Post a Comment