Load a .duf file from script
Soto
Posts: 1,440
Hi, I am trying to create a script that loads three .duf files from the data folder. Right now I have this:
var oContentMgr = App.getContentMgr();oContentMgr.openFile("data/Soto/Product/File01.duf", true);var oContentMgr = App.getContentMgr();oContentMgr.openFile("data/Soto/Product/File02.duf", true);var oContentMgr = App.getContentMgr();oContentMgr.openFile("data/Soto/Product/File03.duf", true);
It was working fine in two versions of DAZ Studio. Then it started giving an error. Now it works or gives an error at random. A minute ago it wasn't working, now it is and I have not done anything. What is going on? lol
Post edited by Soto on
Comments
What is the error?
You don't need to keep reassigning the oContentMgr variable, though I doubt it does any harm.