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

RE: [V8i VBA] Attempting to automate placement of multiple points along element using VBA

$
0
0

Hello Berry,

there is a missing Exit Function in your function ParseDistanceFile:

' Copy the data into the array.
    For R = 0 To num_rows
        If Len(lines(R)) > 0 Then
            one_line = Split(lines(R), ",")
            For C = 0 To num_cols
                data(R, C) = one_line(C)
                Next C
        End If
    Next R
    ParseDistanceFile = num_rows + 1
     

    Exit Function
err_ParseDistanceFile:
    ReportError MODULE_NAME, "ParseDistanceFile"
End Function


Viewing all articles
Browse latest Browse all 7260

Trending Articles



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