CAD Forum - Database of tips, tricks and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 8237
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

 

HelpCAD discussion

 
CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.

How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedAdding line lengths together

 Post Reply Post Reply
Author
shawcolegate View Drop Down
Newbie
Newbie


Joined: 12.Feb.2009
Status: Offline
Points: 2
Direct Link To This Post Topic: Adding line lengths together
    Posted: 12.Feb.2009 at 17:21
Hello

We are working on some cad drawings where we have lots of lines, (thousands) which need to be added together to find total lengths.

At the moment we have just been clicking the line and viewing the properties and also using the list command to find the lengths then putting these numbers into a spreadsheet but this is very time consuming.

Does anyone know of an easier way to do this?

Thanks
Back to Top
rossassociates View Drop Down
Groupie
Groupie


Joined: 20.Oct.2008
Location: United Kingdom
Status: Offline
Points: 79
Direct Link To This Post Posted: 12.Feb.2009 at 17:50
Which AutoCAD are you using?

Do you have access to Architectural CAD?

Alternatively go to here http://www.turvill.com/t2/free_stuff/index.htm and use tlen.lsp this will do exactly what you want.
Back to Top
Rman View Drop Down
Groupie
Groupie


Joined: 14.Nov.2007
Status: Offline
Points: 45
Direct Link To This Post Posted: 13.Feb.2009 at 02:09
Try one of these:
 
1)-Polyline edit (PEDIT), type PE at command and select object (line) to be
added together..> ....Select 'Join'> select all lines> enter.
(but make sure all the lines are need to be the same elevation).
 
2)- Digitize all lines with 'Polyline' command. Use 'endpoint' osnap to captured the line length. Then do 'List'.
 
good luck.
Rman.
Back to Top
Apeiron View Drop Down
Groupie
Groupie


Joined: 30.Aug.2007
Location: Romania
Status: Offline
Points: 74
Direct Link To This Post Posted: 13.Feb.2009 at 08:04

Hello,

search on Google after total lenght a lisp routine and you will find this usefull trick.

Always is something new to learn ....
for kids :))) http://www.prizee.com/?refer=Apeiron
Back to Top
shawcolegate View Drop Down
Newbie
Newbie


Joined: 12.Feb.2009
Status: Offline
Points: 2
Direct Link To This Post Posted: 13.Feb.2009 at 12:19
Hi, thanks for your help.
I have taken the code for tlen as text file then re-named to .lsp
In Autocad 2009 this apparently loads using appload but when I type tlen at command line it does not run, any ideas, is there something I am not doing right? is tlen the right prompt to type? I have not used autolisp routines before so struggling a bit. Is 2009 too recent?
Cheers
Back to Top
Apeiron View Drop Down
Groupie
Groupie


Joined: 30.Aug.2007
Location: Romania
Status: Offline
Points: 74
Direct Link To This Post Posted: 13.Feb.2009 at 12:31
:)) no no no
maybe is not the prompter command. if you are sure this is the command try to type c: xxxxxx.lsp maybe it's working like this
if not please send me by email at bpoleuca@yahoo.com
Always is something new to learn ....
for kids :))) http://www.prizee.com/?refer=Apeiron
Back to Top
rossassociates View Drop Down
Groupie
Groupie


Joined: 20.Oct.2008
Location: United Kingdom
Status: Offline
Points: 79
Direct Link To This Post Posted: 16.Feb.2009 at 15:40
You can either define the command inline, with all of the text, just cut and paste it onto the command line or if you have created a .lsp you will need to load it, at least once.
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,551 seconds.