AutoCAD polyline length calculation

Hello

Is it possible to add line lengths and/or polylines?

Thank you in advance.

 

Kind regards

1 Like

What do you want to do exactly?

I mean, the result of the addition, what do you want to use it for?

I'll try to be a little more precise ;-)

 

I must, for example, calculate the total length of several polylines ; To get the length of a polyline, no problem, I go through the properties palette, but when I select 2 (or more) polylines, the property palette gives the length *VARIE*. So my question is: is it possible to get the total length of these 2 (or more) polylines ?

 

Kind regards

 

Select your 2 polylines and click in the menu Assistance / Information / List

You will have the lengths of your 2 polylines, you just have to add it up:(

1 Like

Thank you Vincent, it seems to me that the calculator is going to heat up...

Otherwise, can you confirm that it is impossible to get a sum?! ...

Well, I wanted to go through a LISP, but in the end, it's much simpler.

 

You have to go through the data extraction command. _dataextraction

- Create a new data extraction

- give a name

- Choose the source

- select the entire table (right-click)

- select polyline

- select "geometry" and "general"

- select "length" and "layers"

- select "Insert totals at the bottom of the page" (right-click on the header)

- select "Record Combination Mode - Sum Value" (right click on the header)

- choose the output option (for the file)

 

 

2 Likes

A big THANK YOU!

And congratulations: I had to find this order...

This is a very useful site! Thank you to everyone behind it and to the contributors!

 

Friendly

You're welcome, that's the purpose of this mutual aid platform :-)

For this time, the calculator will not heat up ;-)

 

 

Yves

Community manager Lynkoa

1 Like

Yes, yes, I insist: thank you and congratulations!

;-)

I saw Clementine's answer, it worked very well for the polished lines, by also selecting " circumference " in addition to "length" and "layers" I also managed to make the sum of the arcs of the circle, but it didn't take into account the " splines ". Do you know a way to fit them into the total ?

Thank you very much if you can help me, it's rather urgent.