Page 1 of 1
how to save?
Posted: Sat May 31, 2008 9:52 am
by parhelie
i'm writing a script which would make many drawings and would record it in different files.
i dont found the command.
thaks for your help.
Posted: Sat May 31, 2008 8:25 pm
by andrew
Unfortunately, the "save" and "save as" functions are not available through the scripting interface at this point.
Posted: Sun Jun 01, 2008 8:54 am
by parhelie
It is really sad. Thank you all the same
Posted: Wed Jun 04, 2008 6:46 am
by parhelie
Yes, it is!
Code: Select all
/**
* example
*
* Creates and save a drawing.
*/
function main() {
var app = new App();
app.fileNew();
/* here the drawing ....*/
app.fileSave('DrawingName.dxf');
}
Too easy