Nov. 12, 2014
8:08 a.m.
Le 12 nov. 2014 08:32, "Hilaire" <hilaire@drgeo.eu> a écrit :
Hi,
Dr. Geo script are becoming first class citizen -- before it was just a method hooked to an existing DrGeoUserScripts class ; then, it was easy to export the script method as a string to include it in the XML sketch file.
Now to save a Dr. Geo sketch using a script, the whole script class needs to be embedded in the sketch XML representation.
Is it possible to export a whole class as a string, then import it back from a string representation to a class?
Isn't that a fileOut/fileIn thing? Phil
Thanks
Hilaire -- Dr. Geo - http://drgeo.eu iStoa - http://istoa.drgeo.eu