Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Measuring multiple lines of varying length

Status
Not open for further replies.

DDirk

Mechanical
Nov 9, 2020
1
0
0
US
Hi all, I'm running into an issue where I have multiple (think thousands) of lines of varying lengths that I'd like to add up total length on.
An example of a tiny blip of what I'm trying to add up..
line
s
0,1
-0.2773501,0.5839748
0,2
0.2773501,1.583975
0,3
-0.2773501,2.583975
0,4
0.2773501,3.583975
0,5
-0.2773501,4.583975
etc

Is there a simple way to measure the total length of line in a given area? I feel like I'm missing something basic here. I have tried converting all to polyline and using getarea but it appears to not work for solely line length.
 
Status
Not open for further replies.
Back
Top