Quantcast
Channel: MicroStation Programming - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1677

Re: measuring lines on a specific layer

$
0
0
 Dim accumulatedLength As Double
accumulatedLength = 0.0
Dim oLine As LineElement
Do While oEnumerator.MoveNext
   Set oLine = oEnumerator.Current.AsLineElement
   accumulatedLength = accumulatedLength + oLine.Length
   counter = counter + 1
Loop
Debug.Print "Accumulated length of " & CStr (counter) & _
     " earth lines=" & CStr(accumulatedLength)

Viewing all articles
Browse latest Browse all 1677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>