Sun, Nov 17, 11:42 AM CST

Renderosity Forums / DAZ|Studio



Welcome to the DAZ|Studio Forum

Forum Moderators: wheatpenny Forum Coordinators: Guardian_Angel_671, Daddyo3d

DAZ|Studio F.A.Q (Last Updated: 2024 Nov 17 11:12 am)



Subject: High level scripting references?


FVerbaas ( ) posted Sun, 09 September 2018 at 3:08 AM · edited Thu, 31 October 2024 at 8:13 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.


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.