AutoCAD Map 3D Forum
Welcome to Autodesk’s AutoCAD Map 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Map 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

calculate total of polylines

6 REPLIES 6
Reply
Message 1 of 7
smvest
5006 Views, 6 Replies

calculate total of polylines

I need to calucalte the total length of waterlines (polylines) in our District - is there a command in AutoCAD Map 3D 2010 to do this ... easily?
Thanks,
~Sue
6 REPLIES 6
Message 2 of 7
Anonymous
in reply to: smvest

Not sure about a command. you can probably find a lsp routine on-line
somewhere.

but I'll suggest exporting the polylines to a sdf file and data connecting
to the sdf. Export with the length property selected along with any other
data you may use. The data table will have the length of each pline in it
which when exported out of the data table to a .csv file will open in a
spreadsheet where you can add, sort, etc to your hearts content. you will
also be able to style the lines by length groups, etc.

dave




wrote in message news:6215015@discussion.autodesk.com...
I need to calucalte the total length of waterlines (polylines) in our
District - is there a command in AutoCAD Map 3D 2010 to do this ... easily?
Thanks,
~Sue
Message 3 of 7
tallantedd
in reply to: smvest

On your map pull down menu got to Topologies. Then choose a network topology. Choos what layer you to make the topology from. Then after creating, go back to map pull donw menu and choose Network Analysis, a box will appear on yours screen and it will tell you the total distance of that topology.
Message 4 of 7
drazen-ars
in reply to: smvest

Hi Sue,

tallantedd gave you good solution.

Here I attached simple lisp which can calculate overall length of selected polylines. The only advantages is that you can simply select those polylines which length you would like to calculate without creating of topology. The only limitation is that polylines cannot be closed.

Let me know if everything functions. Just load attached LSP and start command LNG.


Regards,

Drazen Galic
d dot galic at studioars dot hr
Message 5 of 7
braudpat
in reply to: smvest

Hello

An other Lisp routine which calculate Area & Perimeter for :
Pline (Closed or NOT), Circle, Spline, Ellipse, Region, MPOLYGON

BUT Line, Arc, Multi-lines, etc are NOT treated by this routine

I use it every day for area & perimeter/length calculations ...

Sorry for my English, Pat

PS: the command (with keyboard) to launch this routine is : ZTOTM Edited by: braudpat on Aug 20, 2009 3:13 PM
Patrice ( Supporting Troops ) - Autodesk Expert Elite
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks

Patrice BRAUD

EESignature


Message 6 of 7
cedwards8511
in reply to: smvest

I have been using a lsp to do this for years. There is a free lsp available online from many places that will give a total length of any selected objects. Search for "tlen" lsp online and you will find it easily. I have this permanently loaded into my applications, it's great.
Message 7 of 7
gold_arora
in reply to: smvest

how do u solve th eproblemof taling length ofpolylines in 2010, m also trying
plz help
after topology
if i do directly export , inthis there is no link option

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost