Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5800

Vb code don't work

$
0
0

Hello, i try to run this vb code but didn’t work in Rhino

And what is the equivalent of this with Python

Dim csx
  csx = Rhino.CurveSurfaceIntersection(crv, sphere)

  Rhino.DeleteObject sphere
  If Not IsArray(csx) Then Exit Function

  Dim i
  For i = 0 To UBound(csx)
    If csx(i,0) = 1 Then
      If (csx(i,5) > t) Then
        EquiDistantParameter = csx(i,5)
        Exit Function
      End If
    End If
  Next

14 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 5800

Trending Articles