I extract the first two with a "Redim Preserve t(1)" command.
In the first case, the redim is correct, Line 7 = Line 2 and Line 8 = Line 3. It just kept the first two values like it is supposed to be.
But, for the second curve starting Line 9, some t values are messed up after the Redim. Line 16 = Line 17 despite Line 11 was different from Line 12. That's what is creating a problem later in the Split.
Weird.
…
Thank you Marios,
but I want to put boxes on all the plane: if I divide U domain in 4 parts and V domain in 3 parts I'll have 12 boxes with 12 different heights in W
How can be done?
regards
Maurizio