Hi !
I want to save the model by accessing the “save” function from my script code.
How can this be realized ?
Regards Reiner.
Hi !
I want to save the model by accessing the “save” function from my script code.
How can this be realized ?
Regards Reiner.
function main(){
var App = System.GetInterface(‘Application’);
var Model = App.Models.GetObject(0); // first model
App.SaveModelToFile(Model, Model.FilePath);
Log.Information("Model “+Model.Name+” was saved to "+Model.FilePath);
}
Hi,
use method SaveModelToFile(Model, Path).
Example:
Regards,
Vaclav
Vaclav, thank you very much !
Regards Reiner.