It has been several days I have been trying to understand the ways of VB.Net coming from Bentley GC and Csharp. But still I seem to be crawling...
Can someone point out whats wrong with this code?
Private Sub RunScript(ByVal point As On3dPoint, ByRef A As Object, ByRef B As Object)
Dim yArray As New ArrayList
Dim count As Double : count = 10
Dim i As Int16
For i = 1 To count Step 1
Dim xArray As New List (Of On3dPoint)
Dim j As Int16
For j = 1 To count Step 1
Dim nPoint As New On3dPoint
nPoint.x = i
nPoint.y = j
nPoint.z = 0
xArray.Add(nPoint)
Next
yArray.Add(xArray)
Next
A = yArray
As a side point i reckon grasshopper is fantastic, not having to promote and export in and out from rhino saves hours each day! But would benefit from a more useful debugger also even simple definitions run quite slowly, is there plans of allowing people to compile definitions into rhino native plugins? That would be great!
Tags: