lock the start-up scene?
alan bard newcomer
Posts: 2,227
Occasionally my startup scene gets overwritten ... and I have to go back and recreate it.
Hmm, mark it read only in windows? Willl try that.
Wonder if that will force the interface to say I can only save that as a copy or assign a new name?
Too soon old and to late smart... in the meantime, took my startup scene of choice and copied and pasted it in the folder ... so I can always just rename the copy.
Post edited by alan bard newcomer on
Comments
I just mark mine as read only in windows.
Alternatively, a better way is to use a Script (DSA) rather than a DUF assigned in F2 > Startup tab: On "Launch" > Load File
What do folks usually need in a "Startup Scene"? should be nothing but some Presets / some Scene Subset, e.g. Render Settings Preset, Camera Presets, Light Presets, etc. If so, simply add some lines of code into the Script, e.g.
Scene.loadScene("H:/My DAZ3D Library/Presets/Cameras/!Default for Startup.duf", Scene.MergeFile);
Scene.loadScene("H:/My DAZ3D Library/Presets/Lights/!Default for Startup.duf", Scene.MergeFile);
Scene.loadScene("H:/My DAZ3D Library/Presets/Render Settings/!Default for Startup.duf", Scene.MergeFile);
...
In this way, you don't have to deal with the error message of ReadOnly when you occasionally press Ctrl + S, and the default scene file after DS launch always "has no name" as usual, which is adaptive to users' routine behaviors ~~
Edit: Code corrected.
Surely that should be
Scene.loadScene("H:/My DAZ3D Library/Presets/Cameras/!Default for Startup.duf", Scene.MergeFile);
it is an enumertation member of DzScene.
Ah, right ! I wonder where I got that code into my Initial script ~~ haha
I think for loading Preset, that option doesn't work, so no error was reported. Thanks for the correction !