• Home
  • Training Books
  • Subscribe to Our Email Newsletter
  • About
    • Contributors
    • Feedback
    • Contact
    • Privacy policy
    • Cookie Policy

CADnotes

CAD Tutorials and Best Practices for professionals and students

  • Featured
  • AutoCAD
    • AutoLISP
  • Revit
    • Revit Architecture Basic
    • Revit MEP Basic Tutorial
  • Inventor
  • MicroStation
    • MicroStation Basic Tutorial
You are here: Home / AutoCAD / AutoLISP: Add length annotations to objects

AutoLISP: Add length annotations to objects

February 4, 2014 by Edwin Prakoso 4 Comments

In this Article...

  • Total length and area
  • How to use AutoLISP program
  • About Lee Mac

measure drawing

Do you want to annotate your objects length quickly? If you do, you will be interested with this AutoLISP from Lee Mac.

See how it works below. If you don’t see the image animation, read this article in browser.

This AutoLISP program can measure your objects length then automatically add text at the middle of your object.

If you are interested, you can download Length at Midpoint program here.

Total length and area

Another AutoLISP program that you might be interested is program to count total length from selected objects. There is separate LISP to count total area of selected objects here.

This is very useful because default AutoCAD inquiry command (MEASUREGEOM tool) only allow you to measure one object at a time. With this program, you don’t need to use calculator anymore.

How to use AutoLISP program

If you are not familiar how to use an AutoLISP program, you can refer to this article: saving, using and managing your AutoLISP program.

About Lee Mac

Lee Mac is an AutoLISP guru. Above are just two of many awesome (and free) AutoLISP programs on his website: http://www.lee-mac.com/.

About Edwin Prakoso

I work as a Sr. Consultant in PT Cipta Satria Informatika. I've been using AutoCAD since R14 and Revit since Revit Building 9. I occasionally write for AUGIWorld magazine and I am also active in Autodesk discussion forum. I'm a member of Autodesk Expert Elite, an appreciation for individuals who give contributions to the Autodesk community.
Connect with me on twitter or LinkedIn.

Filed Under: AutoCAD, AutoLISP Tagged With: annotate, autocad tips, length, measure

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

4 Comments
Inline Feedbacks
View all comments
Khyati Patel
Khyati Patel
9 years ago

Great Lisps…. i have gone through…It really helps.
Thank You.

1
Reply
Rafael Polanco
Rafael Polanco
11 years ago

Edwin please receive my gratitude and my blessings. you are a good source of knowledege to us floor plan Designer. keep it up !!!!

0
Reply
Edwin Prakoso
Edwin Prakoso
Author
11 years ago

Hi Alla,

Do you want to add macro or LISP?

Try to add the command below:

explode;all;;

After you type all, you need to press enter once again. So you need to add semicolon twice.

It looks like you have DVP in alias command. Make sure the command is defined so you can use it.

0
Reply
ALLA STEVEN
ALLA STEVEN
11 years ago

Hi Edwin,

I am finding some great command strings to help in the process of Cad work in the office. I am wanting to add a way to " explode all"

^C^C_DVP \ PDSIZE 0.1 EXPLODE ALL LAF; -LAYER T SPOT*;;EXPLODE ALL

Any help is appreciated.

Thanks

Allan

0
Reply
wpdiscuz   wpDiscuz

Featured

creating flat pattern Inventor

Automate Flat Pattern of Continuous Spiral Flight Design Using iLogic

See our tip how you can create flat pattern from Continuous Spiral Flight. And furthermore, we will automate this by using iLogic!

Recent Articles

  • Autodesk Construction Cloud Activity Log
  • Exporting AutoCAD Plant 3D Model to Navisworks
  • Autodesk Data Connector for Power BI is Now Available

Advertisement

New on CADnotes

  • Autodesk Construction Cloud Activity Log
  • Exporting AutoCAD Plant 3D Model to Navisworks
  • Autodesk Data Connector for Power BI is Now Available
  • Autodesk Forma Design Contest
  • Revit 2025: Toposolid Enhancements

Meet the Authors

avatar for
avatar for
avatar for
avatar for
avatar for
avatar for

Get Connected

CADnotes on FacebookCADnotes on InstagramCADnotes on TwitterCADnotes on YouTube

© 2009 – 2025 CADnotes · Feedback · Privacy Policy · Become an affiliate

wpDiscuz