FVerbaas opened this issue on Sep 09, 2018 ยท 3 posts
FVerbaas posted Sun, 09 September 2018 at 3:08 AM Forum Coordinator
I am developing an add-on tool for Poser that may come in nicely for DS users also. (so my testers say) It works on scripting. The Poser API works on Python and is pretty straight-forward once you get the concept. The functions are high-level. One or two lines of code for example lets you traverse all actors in a scene. Looking for something similar in DAZ script the only examples I can find is large pages of elementary code with switches on versions. Nothing of a level even close to what I need. True I could compile the example codes into high level modules but they would be obsolete the day DAZ releases a new version. Am I missing something?
RHaseltine posted Sun, 09 September 2018 at 9:33 AM
Scene.getSkeletonList() will return all figures in a scene as an array. Then just loop through, remembering it may be empty. DzScene, accessed through the global Scene object, has a lot of the tools for scene management http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/object_index/scene_dz
FVerbaas posted Sun, 09 September 2018 at 1:17 PM Forum Coordinator
They hid it well! Thank you for pointing out because I would not have found it by myself. I found some of the functionality I would need, guess the rest will be there also somewhere.
It looks a bit less hopeless now.