Not sure about a command. you can probably find a lsp routine on-line
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.
wrote in message news:email@example.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?
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.
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.
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.