How to save file using script?

I tried:

Scene.saveScene("c:/myfile.duf");

However when opening it, DAZ gives an error and the log says:

Loading Startup Scene : C:/myfile.duf
C:/myfile.duf (1,1): Syntax error - expected '{' or '['
Error reading file, see log for more details.


What's the correct call to save the file using a script?

Comments

  • edited December 1969

    I've also noticed that the scene file created when saving from a script is much larger than a manually saved one. Such as 16MB vs 1 MB for the same scene.

Sign In or Register to comment.