• 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
  • CADnotes on YouTube
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 Solution Consultant in Datech Solutions, Tech Data Indonesia. 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. If you want to have my new articles sent to your email inbox, you can subscribe to the newsletter.

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
7 years ago

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

1
Reply
Rafael Polanco
Rafael Polanco
9 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
9 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
9 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
Join Our Free Email Newsletter
  Thank you for Signing Up
Please correct the marked field(s) below.
1,true,6,Contact Email,2 1,false,1,First Name,2 1,false,1,Last Name,2

Featured

5 Reasons Why You Should Use AutoCAD Block (Infographics)

Here are the reasons why you should use AutoCAD blocks. If you haven’t used it, this perhaps can encourage you.

Recent Articles

  • Revit 2024.1 Update is Released
  • What’s New in Revit 2024: Bending Detail
  • What’s New in Revit 2024: The Dark Theme

Advertisement

New on CADnotes

  • Revit 2024.1 Update is Released
  • What’s New in Revit 2024: Bending Detail
  • What’s New in Revit 2024: The Dark Theme
  • Autodesk Build: Using Assets for Progress Tracking
  • My Home on the ACC Unified Platform

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 – 2023 CADnotes · Feedback · Privacy Policy · Become an affiliate

wpDiscuz