Version 1.3
2,279 downloads
Are you someone who likes to get details in your drawings done neatly? Then look no further! Here I present you a program that does just that.
This program aligns selected objects to any direction the user wants to align them to. This provides that the objects possess at least one of the following properties:
Insertion Point
Text Position
Text Alignment Position
Center
Upon issuing the command ATD, the user will be prompted a selection of objects without any filters, which the program will then filter based on the above (and xrefs excluded). The objects to be aligned will then be highlighted, and the user will be prompted a direction relative to the UCS. This can be in one of five ways:
Clicking two points to determine direction
Typing "X" - to align direction to X axis of UCS.
Typing "Y" - to align direction to Y axis of UCS.
Typing "PErpendicularToCurve" - the user specifies a point on any curve, and if a curve is detected, aligns perpendicular to the curve at that point.
Typing "ALongCurve" - the user specifies a point on any curve, and if a curve is detected, aligns at the direction of the curve at that point
Curve detection is compatible within all sorts of complex objects, such as nested blocks (with dynamic properties), xrefs, tables, dimensions, etc. regardless of depth, and fully functional under all UCS.
Following this, the user can then specify an optional distance that would be used to align the objects, or choose the "Through" option. This makes up an exactly identical feature to the built-in AutoCAD OFFSET command. If a distance is specified, the user will also be specified a point that will be used to calculate the specified distance away from the point.
If "Through" is chosen, the user will then be prompted the point to place the objects. If the distance has been chosen and specified, the user can click on the side that the user wishes to place the objects at that distance from the point.
Objects that I've successfully worked with this program include:
Tables
Blocks
OLE/Raster images
Dimensions
Texts and MTexts (regardless of alignment)
Circles
This program will work under any UCS settings provided that the objects to be translated lies in the same XY plane as the UCS.