Copy List of Favorites Parameters
Michal P.
Posts: 78
Is there any way (probably script) to save to file list of "Parameters" (e.g. for G8) which I have set as "Favorites"?
And later set these Parameters as Favorites fast using that file in another project for selected G8?
Comments
http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/object_index/property_dz#a_1aff7a463d5897177022f13f8c33c3270f
http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/object_index/property_dz#a_1ac09d2344d04fa20baef50a2cf86ef189
could be used with
http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/properties/node_properties/start
Great, thank you, better than nothing. Do you have any tip where is shown how to write to file and read from file?
No, but the methods are pretty standard - dzFile is the object you would want, possibly DzFileDialog if the path/name will not be hardcoded.
Have a look at these, they use DzFile/DzFileInfo to handle the .ini files
http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/start#directory_mapping
So I have created three scripts. Feel free to use it. Somebody can find them useful as it is very useful for me.
SaveFavorites - Saves list of favorites parameters for selected node in scene to ini file.
NoFavorites - removes all parameters from favorites for selected node in scene.
LoadFavorites - Load list of favorites parameters from ini file and set them as favorites for selected node in scene.
Please adjust those to adhere to the terms of the license for the samples, from which you have taken some sections. This will not stop you from sharing the scripts.
With link to DAZ samples...
Please read the actual terms http://creativecommons.org/licenses/by/3.0/
I am not sure what you want but:
Files have been removed because of bureaucracy...
If you had downloaded one of the scripts then the comments would have shown you. You need to link to the specific script and to the license terms (so others can see them). These sample scripts have been made available on very generous terms, adhering to the light requirements should be straightforward.
This time I didn´t use code from the samples. I used codes from my previous personal scripts. May be some parts are from some of these examples. I am not going to spent hours for stupid searching through all that samples and compare what is similar. I put link to the page with these samples bu tyou didn´t like it.