Hi, I'm bringing in a string and I'm trying to split it so new vectors can be properly arranged in a arrayList<arrayList<myclass>>myarray, but I am having trouble with the spliting part. What a I have is S number of sets with N number of nodes with 3 coords each. The error so far (god know how many others are there) is "unexpected token:]" on line
sets2d[i][] = split (sets[i], 'n');
any ideas on what am I doing wrong or where to look for the right answer? thanks!
ArrayList<ArrayList<Mover>>movers2d = new ArrayList<ArrayList<Mover>>();
message = new String( data );
String[] sets = split (message, 's');
string[][]sets2d = new string[sets.length][];
for (int i = 0; i<sets.length; i++) {
sets2d[i][] = split (sets[i], 'n'); // here is the error
hi, I'm trying to import 3d coordinates from grasshopper but I just cant figure it out. I have tried to search in the forum, and both the gHowl and UPD Lib examples, and so far this is what i have. But I'm stuck with NullPointerExceptionAny thoughts? If someone has an example of multiple points transfer from GH to processing that would be rather helpful. Thanks in advance for any help