Digital Art Zone

 
     
How to save file using script?
Posted: 19 May 2013 12:06 PM   [ Ignore ]
Member
Rank
Total Posts:  46
Joined  2013-05-11

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?

Profile
 
 
Posted: 20 May 2013 07:36 AM   [ Ignore ]   [ # 1 ]
Member
Rank
Total Posts:  46
Joined  2013-05-11

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.

Profile