| ||||
|
#1
| ||||
| ||||
| Line length in AutoCAD I have a number of objects in AutoCAD for which I need to determine their length. For simple lines, the "properties" tool gives length as one of its outputs. But most are also made up of splines... How to determine their length? And is there a simple way in AutoCAD to determine the total length of a combination of lines and splines etc?
__________________ Will Imaginocean Yacht Design Logic will get you from A to B... Imaginocean will take you everywhere else... www.imaginocean.net |
|
#2
| ||||
| ||||
| Sorry, I should have been a little more specific... Is there a way of determining perimeter length in objects made up of a combination of line types, that are not closed
__________________ Will Imaginocean Yacht Design Logic will get you from A to B... Imaginocean will take you everywhere else... www.imaginocean.net |
|
#3
| |||
| |||
| there is a command in autocad called lengthen works with lines. plines, splines etc...this si porbably what you are looking for i guess if you want to find the perimeter or girth of a frame lengthen is the command. Go here: http://www.spaug.org/LISP_Index00.Html and find Totlen.lsp is a lisp command for autocad that sums all lengths of defined elemnts |
|
#4
| ||||
| ||||
| Ah - yes of course... "lengthen" gives you the current length on the command line before you activate the command. Thanks CGN I'm not familiar with LISPS... will have to look into it.... It still surprises me that AutoCAD doesn't have a command to determine the total length of multiple lines though....
__________________ Will Imaginocean Yacht Design Logic will get you from A to B... Imaginocean will take you everywhere else... www.imaginocean.net |
|
#5
| |||
| |||
| didn't know that command.. I always used list with splines. Will try this one out, will come in handy often! |
|
#6
| |||
| |||
| The AREA command gives the perimeter and area of splines and LWpolylines (2D polyline), closed or open. 3Dpoly (3d polylines) only return the perimeter. To select the polyline Entity, type: AREA e regards, Bob |
|
#7
| ||||
| ||||
| Thanks Bob! Exactly the command I was looking for..... not sure why I didn't twig to it earlier ![]()
__________________ Will Imaginocean Yacht Design Logic will get you from A to B... Imaginocean will take you everywhere else... www.imaginocean.net |
|
#8
| |||
| |||
| Happy to oblige. ![]() To find the area of a 3dpolyline, you have to, (a) click points with the mouse, or (b) supply points as a list on the command line in a lisp statement: (setq foo '((10 5 0) (0 -50 0) (-8 5 25))) (command "area" foo "" ) This is just an quick example. Any legal parameter that AREA expects can be supplied in a list. You may want to write your own lisp utitlities to do just that. There's plenty of examples scattered throughout the various autolisp forums. Cheers, BobG |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help for floodable length | alpamis34 | Boat Design | 4 | 06-16-2007 02:38 PM |
| L.O.A. vs Centerline Length | rdeputy | Boat Design | 9 | 11-05-2005 06:35 PM |
| Do You have autoCAD related on-line job | rajeevdman | Services & Employment | 4 | 06-10-2005 06:56 AM |
| Length Over All | Danielsan | Boat Design | 11 | 02-18-2005 05:44 PM |
| What Length? | fisherman | Powerboats | 2 | 05-16-2004 10:29 AM |