DAZ Scripting
BackDoor3D
Posts: 160
Hi all,
I am quite an accomplished programmer in C++, XCode, Visual C, Java, Perl and Python, but I am having difficulty finding any really pertinent information/examples that will help me get into DS Scripting. Most, if not all of the links take me to 404 Not Found, and there doesn't seem to be any sites that that cater for this other than "mcasual's" which is great but not quite want I need.
Is there anywhere I could possibly find documentation pertaining to DS Scripts? Or am I on my own to figure it out?
Any help would be greatly appreciated.
Cheers
Comments
There's a sub-forum for scripting http://www.daz3d.com/forums/categories/60/
there are samples http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/start
and there are the docs from DS3 http://docs.daz3d.com/doku.php/public/software/dazstudio/3/start
Between those you should be able to figure most things out, though it would of course be best to have current documentations.
The documentation is included in the Script SDK. DAZ script is a specialization of QtScript which is a specialization of JavaScript. Qt add its own classes and logic to it, DAZ added JS proxies to the underlying Studio SDK. It's a good thing to start looking at the Studio C++ SDK so that you get the full list of what is in the class library.
The DAZ Script SDK has fairly complete documentation and some samples.
Although Rob has been adding object references there are still a lot of gaps - the DS3 docs are pretty full, with a few areas lacking definitions, but they don't cover the new objects added in DS4.
Hi Paulo,
Are you referring to the DAZStudio4.5+ SDK or is there a separate Script SDK? I only ask because I have the DAZStudio4.5+ SDK.
Cheers
There is, or there was, a separate Script SDK with its own documentation. I got it in the days of DS3 so I'm not sure if it's still available but it should be. Maybe Richard can find the link.
Cheers.
SDK 3 is here: http://docs.daz3d.com/doku.php/public/software/dazstudio/3/start
See this first, because actual SDK 4.5 have a hole in several importants basics points.
Thank you Ladies and Gentlemen,
I now have what I need [I think] and I am up and running.
Wrote my first plugin today, albeit very rudimentary but it works.......yeeha!
Onwards and upwards....!
Cheers