Jump to content

Align To Direction 1.3

   (0 reviews)

Jonathan Handojo

1 Screenshot

About This File

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:


  1. Insertion Point
  2. Text Position
  3. Text Alignment Position
  4. 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:


  1. Clicking two points to determine direction
  2. Typing "X" - to align direction to X axis of UCS.
  3. Typing "Y" - to align direction to Y axis of UCS.
  4. Typing "PErpendicularToCurve" - the user specifies a point on any curve, and if a curve is detected, aligns perpendicular to the curve at that point.
  5. 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. 

Edited by Jonathan Handojo

What's New in Version 1.3   See changelog


  1. Command to work regardless of elevation of objects on any plane.
  2. Included a feature to align objects at a specified distance from a base point.
  • Like 3

User Feedback

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.


  • This will not be shown to other users.
  • Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
    Add a review...

    ×   Pasted as rich text.   Restore formatting

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...