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: 

Summing polylines

9 REPLIES 9
Reply
Message 1 of 10
mjohnson520
857 Views, 9 Replies

Summing polylines

We're trying to total the lenth of old water lines. The water line drawings are polylines. I want to add the length of polyline A + length of polyline B + length of polyline C + etc. What is the command to get a total length sum? There is no associated object data.
9 REPLIES 9
Message 2 of 10
Anonymous
in reply to: mjohnson520

There is no command out of the box to do that, you can search for TLEN.lsp
on the web and use that (a lisp routine) or create a network topology and
use the static tools.

--
Murph
map3d.wordpress.com
(on the road)

"mjohnson520" wrote in message news:6358615@discussion.autodesk.com...
> We're trying to total the lenth of old water lines. The water line
> drawings are polylines. I want to add the length of polyline A + length
> of polyline B + length of polyline C + etc. What is the command to get a
> total length sum? There is no associated object data.
Message 3 of 10
robg2
in reply to: mjohnson520

Try the attached lisp (downloaded from the discussion group) it works for me - please do not ask me any questions about lisp.
Message 4 of 10
Anonymous
in reply to: mjohnson520

OOTB data extraction wizard will gladly total up polyline length, area, etc.
You can even do it across a list of files.

Joe
Message 5 of 10
Anonymous
in reply to: mjohnson520

But can you do a selection set with it?
:)


--
Murph
map3d.wordpress.com
(on the road)

"Joe Bouza" wrote in message
news:6361185@discussion.autodesk.com...
> OOTB data extraction wizard will gladly total up polyline length, area,
> etc. You can even do it across a list of files.
>
> Joe
Message 6 of 10
Anonymous
in reply to: mjohnson520

By layer and or object type or you can select the objects
Message 7 of 10
Anonymous
in reply to: mjohnson520

🙂


--

Murph
http://map3d.wordpress.com/


"Joe Bouza" wrote in message
news:6363317@discussion.autodesk.com...
By layer and or object type or you can select the objects
Message 8 of 10
braudpat
in reply to: mjohnson520

Hello

Here my favorite Lisp/VLisp routine for Area & Length : ZTOTM

ZTOTM works with : Circle, Pline, Ellipse, Spline, Region, MPOLYGON

Bye, Patrice
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 9 of 10
parkr4st
in reply to: mjohnson520

mapexport the lines to a SDF file selecting properties of length, XY&Z 1 & 2, color if the pipes are color coded already, and any other properties that seem appropriate.

data connect the file and export the data table to spreadsheet. you can then do any amount of math you need, sorting possibly

the XY&Z 1&2 lets you work with the postion of each pipe

if the drawing is georeferenced you can put your sdf to work in a variety of maps

Dave
Message 10 of 10
Joe-Bouza
in reply to: mjohnson520

You can do all that with OOTB Data extration wizard plus be dynamic

Joe
Thank you

Joseph D. Bouza, P.E. (one of 'THOSE' People)

HP Z210 Workstation
Intel Xeon CPU E31240 @ 3.30 Hz
12 GB Ram


Note: Its all Resistentialism, so keep calm and carry on

64 Bit Win10 OS

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

Post to forums  

Autodesk Design & Make Report

”Boost