Congratulations! You are a March Madness BONUS BUYER!

Enjoy 10% OFF* ALL PURCHASES STOREWIDE or enjoy 30% OFF items with a SKU number lower than 16000 & 30% OFF items from Runtime DNA.

Get an EXTRA 30% OFF** on Featured Horror Animations and Poses

Get an EXTRA 50% OFF** on Featured Horror Places and Things

Offer valid for intended recipient only
* 10% discount DOES apply to Gift Cards and Memberships. **Items must be in cart simultaneously for discount to apply.
[ collapse ]

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.