Resources for learning DAZ scripting
Rakuda
Posts: 931
http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/start
I look at the docs and they seem to be a mess of broken links, "You do not have permission" messages and otherwise incomplete info.
I would like to learn more about scripting placement of instances and geometry much like products like Ultra Scenery. I have looked in the store and don't find much in the way of tutorials or pointers where to look in the forms. Would be interested in finding a good place to start or tutorials?
Comments
Perhaps this is a good source?
Redacted
@cridgit I have used Javascript and PHP mainly for some time. But I could stand to update my knowlege of current ECMA Script. I will plod around and try to generate some working examples. Currently I am mainly interested in loading elements from my library, managing distribution of instances, generating of terrain from heightmaps, etc.
Looks good to me :-) 14 video tutorials!
https://www.youtube.com/playlist?list=PLOWr2hbe8cTg15gZikzVVo3PRNX-Nz3z_
Redacted
Is Python more current? It's been around for years - possibly even decades, it must certainly be getting on for its second.
Scripting in Daz Studio is built on the Qt scripting engine, and of course DS is built on an older version of Qt. That is being updated in order to get it compatible withg Big Sur (quite possibly among other reasons) which will, when complete, update the ECMAScript version used.
Redacted
Are you comparing with Java or javascript? Not the same thing. Also, if Python did launch ahead of Javascript that would make it older rather than newer.
Personally I'll take a script that controls hierarchy via brackets over one that uses indents only, as I believe Python still does.
I just cannot get used to that. As primarily a C++ programmer, Python does many things that seems unnatural to me, but significant whitespace is the worst.
Looks like those they used to sell here at DAZ. They are quite good with both videos and PDF tutorials, but unfortunately they never completed the series as promised so all you got was info about scripting syntax and all that fundamental stuff most programmers know already, apart from some simple scripting for handling nodes and scaling objects and moving them around and such no real practical examples of DS scripting.
Oh dear. Well that's explains I guess why there's A to O, but no P-Z. Thank you for the alert.
Redacted