Discussion forum
?CAD discussions, advices, exchange of experience

Please abide by the rules of this forum.
|
Post Reply ![]() |
Author | |
jmontesmx ![]() Senior Member ![]() Joined: 28.Jan.2008 Location: Mexico Using: AutoCad2017 Status: Offline Points: 113 |
![]() Posted: 27.Aug.2009 at 02:18 |
Sometimes I choose some lines with a list command to obtain the lenght of them, but this is so bored when take a lot of lines , curves, etc. , I will apreciatte if somebody can help me to obtain the sum total of them more quickly |
|
![]() |
|
Vladimir Michl ![]() Moderator Group ![]() Arkance Systems CZ Joined: 26.Jul.2007 Location: Czech Republic Using: Autodesk software Status: Offline Points: 2124 |
![]() |
You can use the Report Lengths function in LT Extension - it sums up line lenghts (by layers).
|
|
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner |
|
![]() |
|
jorgeanjos ![]() Newbie ![]() Joined: 18.Aug.2009 Location: Portugal Status: Offline Points: 4 |
![]() |
Olá, I have some AutoLISP applications (written in portuguese and not translated yet) in my site that return the total of perimeters, areas and volumes (3dsolids). |
|
![]() |
|
jmontesmx ![]() Senior Member ![]() Joined: 28.Jan.2008 Location: Mexico Using: AutoCad2017 Status: Offline Points: 113 |
![]() |
Excuse me, can you explain me more, I'm trying to use your directions but I can't do it. I'm using Autocad 2007 may be this is the reason. Thanks.
|
|
![]() |
|
msplcdykee69 ![]() Senior Member ![]() Joined: 15.Dec.2008 Location: United States Using: Civil 3D, Map, Inventor, Mechanical, & Electrical Status: Offline Points: 163 |
![]() |
Here is a lisp that collects the lengths of lines or polylines on selected layers: ;;; LENLYR.LSP a program to find the length of all (defun dxf (code ename) (defun lenlyr ( / LayerList EntityList EntityLengths) (defun get-lyrs ( / isent lyr-list ss i lname) (defun get-ents (LayerList / lstr lst lyr str (defun do-len (EntityList / TotalLength ent len) (defun ent-len (en / elength) (defun do-line (en / p10 p11 len) (defun do-arc (en / rad sang eang theta len) (defun do-circle (en / rad len) (defun do-pline (en / is-closed vlist vvlist len) (defun do-lwpline (en / num-vert is-closed elist (defun do-polylen (vvlist is-closed / closed seglen (defun do-seg (p1 p2 bulg / seglen ang4 ang dis rad) (defun c:lnl () (prompt "\nEnter LNL to start") Edited by msplcdykee69 - 27.Aug.2009 at 22:54 |
|
Engineering Manufacturing Medical Cables/Adjunct Instructor Engineering Graphics/Engineering Computations and Careers
msplcdykee69@yahoo.com Shawn |
|
![]() |
|
jorgeanjos ![]() Newbie ![]() Joined: 18.Aug.2009 Location: Portugal Status: Offline Points: 4 |
![]() |
Are you using the LT? AutoCAD LT doesn't support AutoLISP, unless you have some "add-on". After unzip copy the file Sumper.lsp and paste in any place of AutoCAD drawing area. “»» Type 'SUMPER' to start applicationâ€
> Type SUMPER and press the ENTER Key > Select the objects to calculate the length > The total length of all selected entities will appear in Subtotal = > For add more objects type A and press ENTER or just press ENTER to see the Total. Hope That Helps Edited by jorgeanjos - 28.Aug.2009 at 15:28 |
|
![]() |
|
jmontesmx ![]() Senior Member ![]() Joined: 28.Jan.2008 Location: Mexico Using: AutoCad2017 Status: Offline Points: 113 |
![]() |
Thanks a lot .
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0,176 seconds.