Align Tags Revit Plug-In

I just release a new add-in for Revit on the Autodesk App Exchange for aligning and sorting tags on a view.

This tool is based on the Align command you probably already know from a large bunch of software, from PowerPoint to Adobe Illustrator. It is composed of a set of commands to align or distribute tags on a Revit view, and it is pretty easy to use:


To align two or more of tags, just select them, and select one of the direction of the Align command.

For example, with the Align Left command :

Before After

Every selected tag is aligned with the left one. The alignment reference point is the tag base point (where their reference planes intersect).

To distribute three or more tags along an axis, select them and specify the direction.

For example, with the Distribute Vertically command:

Before After

Vertical space between selected tags is distributed evenly among them. The position reference point is still the tag base point.

Under the hood, everything is pretty simple. The application pick up every tag origin point, and sort them along the View.RightDirection or View.UpDirection regarding the direction you select.

Once these origin points are placed along the chosen vector, each Tag.TagHeadPosition is set to its new position.

The entire source code can be found on Bitbucket, my new place of choice for code hosting. Feel free to use it for whatever you want.

The Align Revit add-in is already available for Revit 2014 and 2015 on the Autodesk App Exchange.

25 thoughts on “Align Tags Revit Plug-In

    • Hello,

      Due to some evolution in the Revit code, I had to drop the support for Revit 2015. You will have to keep the previous version.

      I don’t have the installer for the previous version, but you can copy-paste the following files in %APPDATA%\Autodesk\Revit\Addins\2015 :

      – AlignTag.addin
      – AlignTag.dll

      You will find these files here.

      • Thankyou so much.
        However, this error occurs .
        “Method not found: ‘Int32 Autodesk.Revit.DB.TextNote.get_LeaderCount()’.”
        Help me please.

      • i am facing this error in revit 2015 “Method not found: ‘Int32 Autodesk.Revit.DB.TextNote.get_LeaderCount()’.”
        please help me with this, thank you

          • Getting error:

            Revit cannot run the external application “Application AlignTag” .Contact the provider for assistance.

  1. Pingback: SmartAlign - Revit news

      • External Tools – External Tool Failure
        Revit cannot run the external application “Application AlignTag”. Contact the provider for assistance. Information they provided to Revit about their identity: The Builder Coder,


        Could not load file or assembly
        ‘…AlignTag.dll’ or one of its dependencies. Operation is not supported. (Exception from HRESULTL 0x80131515)

        • It seems that something is wrong with your plugin installation. Can you remove the Align plugin, and install it again from a fresh download ? If you downloaded directly the .dll file, did you unlock it before starting Revit ?

  2. i am facing this error in revit 2016 MEP “Method not found: ‘Autodesk.Revit.DB.XYZ Autodesk.Revit.DB.SpatialElementTag.get_TagHeadPosition()’.
    please help me with this, thank you

    • Sorry, but Revit 2015 does not support some features used by the addin to align text. You will have to use a more recent version of Revit to be able to align text.

Leave a Reply

Your email address will not be published. Required fields are marked *