Bug with DzNodeSelectionComboBox?
Am having some huge issues with DzNodeSelectionComboBox widgets. Basically if you add one to your dialogue box Daz Studio will go straight to 100% cpu usage _until_ someone either clicks on it or you...
View ArticleCurrently Selected Geometry
Anybody know if it's possible to get an array of the faces currently selected in the geometry editor via Daz Script? Looking at the current docs for DzObject, there doesn't appear to be any info for...
View ArticleERC heavy Deformer loading with wieght maps.
I've been working with self made deformers that have ERC "remotes" for years. They dramatically speed up creating custom morphs and allow quick tweaks to hair, clothing, simulated squish, etc....
View ArticleDzPuppeteerElementData Class
Hi everyone, I'm stuck, and could use the help of some Guru... I've got the "IG Iray Lights and Shaders - Candles" package, and I'm trying to write a script that will burn down the candles...
View Articleexec() method of RegExp object returns only first match
Hi, I'm having trouble with the RegExp object's exec() method, which according to the docs shoudl return an array of all matches. For me, it only returns the first match. I am trying to use it to...
View ArticleHigh level functions library?
Pardon my stupid question but is there a library with high level functions somewhere? What I see in the samples is all pretty low-level coding. I would expect there is a library with compiled and...
View ArticleHow to rotate an object in world space coordinates?
It seems like an object's YRotControl is used to rotate it in its local coordinate system. How can I rotate an object in world coordinate system? Looks like I can get its world rotation as a DzQuat,...
View ArticleHow to control view tool gizmo using script?
Is it possible to control the gizmo for the Active Pose tool or Universal tool using script? As an example- activate it with mouse down, and perform a drag action in the XY plane.
View Articlescript to delete off-camera stuff?
This will probably be unsolvable except with a script. I'm so-so at understanding already written code, but unfortunately I can't make heads or tails of writing it from scratch (so I'm not much of a...
View ArticleCursor Position
Edit* I see that this is only for 4.11 and above, so is there another way to get the cursor. In the Point reference page, there is an example for returning the cursors global position: var...
View ArticleTransfer Utility
I have constructed a test script. Said script pulls scene selected nodes as objects, let's call them object 1 and object 2. So far, so good. Debug shows this part happens. I then construct a transfer...
View ArticleDazScript import external script file?
Simple question -- I've built a library of utility functions located in a file "tools.dsa". I want to include that script from another Daz script so that I can call the functions in it. How do I do...
View ArticleLoop through root elements in a scene - SOLVED
I'm trying to write a script that will loop through and change only those items within the scene which have no parents. I assumed that such items would be Nodes, and could be identified by checking the...
View ArticleMy first script - feedback sought
I've finally dipped my toe into the world of Daz scripting and written my first one. Here's what it does... There are rendering errors that can occur in Iray if a character is too far away from the...
View ArticleGetting Started with DAZ3D/LUA Scripting
I know Javascript. I have written code in over 20 languages over the last 40+ years. But the Daz API is ... er, how shall I put it? ... not well documented. I'd like to give back. If someone could...
View ArticleBookmarks for the Content Library
Hi, I just got an idea of writing a script that enables you to create bookmarks for the Content Library in an user frindly way. In another thread Is it possibe to put certain folders as separate tabs?...
View ArticleCamera/Light Script
Hi, Can someone give the code for looking through either a camera or a light? And then for switching back to perspective view? I'm not quite sure where to look in the docs for this. Thanks.
View ArticleG8 List of Bones?
Hi All, I'm currently working on a large amount of expression morphs for Genesis 8, and would like to speed things up with scripts. I'm a complete beginner when it comes to scripting, and am having...
View ArticleGet the path + filename of the current opened scene
Hi, I can't find any clue about getting the path and the name of the current scene opened in Daz Let say I opened c:\test\exemple.duf file in daz, how can I get this info using script ? I've seen...
View ArticleHope this is a place for few relatively small but very useful improvements
1. Adding an image with transparent parts (trasparent background) to a plane primitive *and* keeping the transparent part without a need of special trasparent map, including the posibility to import...
View Article