Print Page | Close Window

How to get length of shape in mouse drag area?

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DXF formats, Design Review, AutoCAD web, Drive, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=5524
Printed Date: 05.Jul.2026 at 10:16


Topic: How to get length of shape in mouse drag area?
Posted By: mirrorman
Subject: How to get length of shape in mouse drag area?
Date Posted: 22.Mar.2011 at 03:56
Hi~
I wrote length(width,height) of shape to excel watching design by autocad by 2008.
There are so many items. Sometimes, That makes me to write wrong length of shape.
 
Can i get shape length or dimension line in mouse drag?
 
Do you know any idea or lisp?
Thanks~



Replies:
Posted By: John Connor
Date Posted: 22.Mar.2011 at 10:49
Have you tried using the DISTANCE command?
 
Have you tried doing a LIST on the object?
 
Have you tried clicking on the object and checking either PROPERTIES or QUICK PROPERTIES?
 
Is the object a block?


-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>



Posted By: mirrorman
Date Posted: 23.Mar.2011 at 01:23
Hi.
Thanks for your replay.
All length displayed on drawing.
I just want to copy the length to excel sheet, easily.
 
Have a nice day.


Posted By: John Connor
Date Posted: 23.Mar.2011 at 10:55
So you want to extract all dimensions and place their values in a spreadsheet.  I'm pretty sure I've seen a lisp routine that will do that but I cannot recall, at the moment, where I saw it.
 
First try a search of this website in the Tricks and Tips forum.  In the meantime, I'll take a look elsewhere.  If I find something I'll post a link to it.
 
 


-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>



Posted By: John Connor
Date Posted: 23.Mar.2011 at 11:55

The solution to your problem is contained within the link I have provided below in the form of a lisp routine.  Read the ENTIRE thread because the author of the routine made a couple of changes in response to the person who made the original request.  Be sure you understand what the changes were.  You do know how to run a lisp routine right?

http://www.cadtutor.net/forum/archive/index.php/t-23285.html" rel="nofollow - http://www.cadtutor.net/forum/archive/index.php/t-23285.html


-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>




Print Page | Close Window