algorithmic modeling for Rhino
Why each 24 indexes disappear the code when performing?
Code here is this
Private Sub RunScript(ByVal x As List(Of String), ByVal nPaths As Integer, ByVal nItem As Integer, ByRef A As Object)
Dim tree As New DataTree(Of String)
Dim sum As Integer = 0
Dim nCurrItem As Integer = nItem
Dim j As Integer = 0
For i As Integer = 0 To nPaths - 1
Dim path As New GH_Path(i)
For j = sum To nCurrItem - 1
tree.Add(x(j), path)
Next
sum = j
nCurrItem += nItem
Next
A = tree
Tags:
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by