The best way is to use a C# or a VB component to transpose these
lists. I think in C# you can use transpose directly. You can ask this
on the VB/C# forum on our new website, www.grasshopper3d.com
- Scott
On May 27, 3:56 am, Tonsgaard wrote:
> Being a long time user of Generative Components trying to use
> grasshopper i miss the "transpose" command.
> I have a point list like this:
>
> 0, 1, 2, 3, 4, 5
> 0, 1, 2, 3, 4, 5
> 0, 1, 2, 3, 4, 5
> 0, 1, 2, 3, 4, 5
> 0, 1, 2, 3, 4, 5
>
> and a want to transpose dimensions to:
>
> 1, 1, 1, 1, 1
> 2, 2, 2, 2, 2
> 3, 3, 3, 3, 3
> 4, 4, 4, 4, 4
> 5, 5, 5, 5, 5
>
> Surely I am not the first in need of this...
> how would i go about and do this...? I suppose its quite easy in VB
> script, but being used to GC's C# like language, I kinda dont know how
> to do this...
>
> thanks...
>
> Tonsgaard…
1+2+3+4+5+6 = 21
1+2+3+4+5+6+7 = 28
1+2+3+4+5+6+7+8 = 36
1+2+3+4+5+6+7+8+9 = 45
Is there a tool, that can do me that job?
How do I get this List {1,3,6,10,15,21,28,36,45}?…
Added by Ahmed Hossam at 2:19pm on September 22, 2013
a specific domain, for example:
0.) 0 to 1 -----> 11 random values from 0 to 1 (0.245,0.678,0.36,0.78,.28,0.18........)
1.) 1 to 2 -----> 11 random values from 1 to 2 (1.26,1.36,1.01,1.68,1.26,1.96.........)
3.) 2 to 3 -----> 11 random values from 2 to 3 (2.96,2.45,2.78,2.56,2.98,2.10..........)
4.) 3 to 4 and so on where I have a data set containing 11 paths with 11 values and the values fall within the specific domain.
Like my post above I have the correct path but I need to feed it the correct seed to get different values for each number. I tried grafting a series similar to the last post but it scrambles my data. Thanks so much for the help!
…