Is there way to access only "active daz importer rig (object) properties" by your module functions?

Issue #281 resolved
engetudouiti created an issue

I am now keep up-date my old add on scripts to study bpy, now it can save and load , daz importer rig pose, morphs, and both at same time as json with small render viewport image icons. (as same as when we save pose, shape, parameter preset duf in daz)😀

Then one thing I am now trying to enhance, I hope to save only active (your offered check-mark Activated) property values, when I save morph preset.json with option.

At current I am using, import_daz.getMorphs(rig, "All") function , then can get dictionary with property ID. but I still not find easy way, to get only active (checkmark ON) morphs ID, and value as dictionary..

If there is easy way,, (or you already made such function etc ) would not you teach me how you get those active morph name, and values please?

Comments (5)

  1. Thomas Larsson repo owner

    New keyword argument added to import_daz.getMorphs: activeOnly. Use like this

     activeMorphs = import_daz.getMorphs(rig, "All", activeOnly=True)
    

  2. engetudouiti reporter

    Thanks a lot!! It really useful new option to manage morphs with scripts ! I test later and cofnrim how it work.

  3. Log in to comment