Hi pep, you've declared your array as:
Dim arrPt(,,) As List(Of Double) This is both a multidimensional array and a List declaration mixed together. I never use Multi-dimensional arrays in my code because I find them confusing and cumbersome. Instead, I prefer to have linear arrays or lists of a custom class. I don't know what it is you're trying to do, but I do know I would have done it differently :) Also note that you cannot output multi-dimensional arrays from a Script component. -- David Rutten [email protected] Robert McNeel & Associates On Apr 1, 3:00 am, pep <[email protected]> wrote: > hi all > we have tiny misunderstandings of multidimensional arrays in vb > we are not sure if we are declaring them well, accessing them properly > and how the hell rewrite their values > > our aim is to create a 3 dimensional array (nothing really to do with > 3d coordinates..) > we want to retrieve our points within the first 2 dimensions, (with i > and j) and then have the next dimension to retrieve and manipulate > stored data for each node. > > it s really simple but we do not know the syntax > > thanks a > lothttp://grasshopper3d.googlegroups.com/web/help.ghx?gda=ocbWsDoAAAC19V... > > here is the file!
