This is in regards to
GML4U, but maybe is more of a programming question ??
which ends up looking like this in the examples:
saver.save(recorder.getGml(), sketchPath+"/gml.xml");
I have a sketch where I have a number of different export options, and have made an "exports" directory to save them too, to avoid clutter in my main sketch directory. All of my other save options (jpg, pdf, dxf, string) will go to this directory properly, however, the gml.xml will not... it stays in the sketch path...
I cannot get the Gml to save properly if I edit the argument to something like
saver.save(recorder.getGml(), "exports/" + "/gml.xml");
or
saver.save(recorder.getGml(), "exports//gml.xml");
... I don't really understand why the forward slash has to be in front of the gml.xml ?? Is it something to do with how Processing deals with saving xml files? (sorry, haven't looked into that yet... )
Also, I thought to edit sketchPath, but couldn't find it anywhere in the reference... ???
Thanks in advance...
~ J
1