Boat Design Forums  |  Boat Design Directory  |  Boat Design Gallery  |  Boat Design Book Store  |  Thanks to Our Site Sponsors

Go Back   Boat Design Forums > Design > Software
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-29-2008, 09:07 PM
Willallison's Avatar
Willallison Willallison is offline
Senior Member
 
Join Date: Oct 2001
Rep: 2319 Posts: 3,502
Location: Australia
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
Reply With Quote
  #2  
Old 04-29-2008, 09:20 PM
Willallison's Avatar
Willallison Willallison is offline
Senior Member
 
Join Date: Oct 2001
Rep: 2319 Posts: 3,502
Location: Australia
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
Reply With Quote
  #3  
Old 04-29-2008, 10:53 PM
CGN CGN is offline
Senior Member
 
Join Date: Dec 2002
Rep: 138 Posts: 547
Location: MX
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
Reply With Quote
  #4  
Old 04-30-2008, 01:20 AM
Willallison's Avatar
Willallison Willallison is offline
Senior Member
 
Join Date: Oct 2001
Rep: 2319 Posts: 3,502
Location: Australia
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
Reply With Quote
  #5  
Old 04-30-2008, 06:58 AM
Arvy Arvy is offline
Senior Member
 
Join Date: Jun 2005
Rep: 44 Posts: 114
Location: Netherlands
didn't know that command.. I always used list with splines. Will try this one out, will come in handy often!
Reply With Quote
  #6  
Old 05-30-2008, 11:01 PM
bobg3723 bobg3723 is offline
Senior Member
 
Join Date: Aug 2005
Rep: 95 Posts: 278
Location: Crystal, MN - USA
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
Reply With Quote
  #7  
Old 06-01-2008, 07:31 PM
Willallison's Avatar
Willallison Willallison is offline
Senior Member
 
Join Date: Oct 2001
Rep: 2319 Posts: 3,502
Location: Australia
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
Reply With Quote
  #8  
Old 06-01-2008, 10:44 PM
bobg3723 bobg3723 is offline
Senior Member
 
Join Date: Aug 2005
Rep: 95 Posts: 278
Location: Crystal, MN - USA
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
Reply With Quote
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
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


All times are GMT -5. The time now is 08:06 AM.


Powered by: vBulletin Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Web Site Design and Content Copyright ©1999 - 2012 Boat Design Net