Detecting if System has Iray Available
Via a script, is there a way of detecting if the current system has Iray available to use / is the currently set renderer? I found this thread,which seems to have a solution, but was wondering if there...
View ArticleFind 3D point projection in rendered image.
Hi everyone, I need to find out locations of some facial points (nose tip, eyes, etc) in final rendered image. I found that I can access character mesh by using...
View ArticleRescaling poses using scripts?
All DAZ figure poses people sell assume that both figures are the same height. But what to do if I have a male which is 190 cm and female which is 165 cm? What I need is a way to scale a higher figure...
View ArticleAfter Effects camera track to Daz Studio camera.
Hi everbody, I’ve been working on a simple match move thing to get After Effects camera solve data to Daz Studio. I’ve gotten the main data parsing and keyframe matching solved, and i also have the...
View ArticleDial Group Focus
I was wondering if there's a way of making a particular group of dials in the Parameters Pane current or focused? For example, if I have the left thigh of a figure selected in the Scene Pane, and I...
View ArticleCan you create a morph slider that adjusts surface settings?
Hopefully this is the right place to ask. I saw a product suggestion for a tool for applying a red-faced blush to characters and it got me thinking about having a dial that increases / decreases the...
View ArticleScripted Renderer Default Display - how to override?
From within a Scripted Renderer script, how could one convince DAZ Studio to display the output of a DzScriptedRenderer.riDisplay() call in the Render window? I suspect it happens under the hood of:...
View ArticleExplanation of Bounding, Oriented and Preview Box
Has anyone a short description of these three box types and and an explanation of their differences for me? Thank in advance.
View ArticleFile-Path of a Script
This has probably been answered hundreds of times, but I can't seem to find the answer: Is there a built-in Daz function that will tell me exactly where my script is located, file-path-wise (absolute...
View ArticleSetting a controlled dial's value
Hi, Can someone explain what's wrong with the following code. I'm trying to set the value of the Z Rotation in the lMetatarsals bone in a G3F figure. In the example below, I want to set it to 2.0 but...
View ArticleAdding a Smoothing modifier
Do anyone know if there is a way to add a smoothing modifier by script?
View ArticleMerging objects
I was wondering about a limitation of the smoothing modifier... You can calculate collisions with one single object, but what if you need to collide with two objects? For example one guy getting...
View ArticleSetting Camera Display Persistence
How do I toggle the 'display persistence' property of a DzCamera -- it doesn't appear in the API reference. I'm guessing there's some object that I can iterate through that contains all properties of...
View ArticleIdentifying assets in DSON files
I'm trying to import DSON files in my own (Python) software, but I can't figure out how asset IDs work in advanced cases. I have a scene with two G8M figures using the same Modifier, but although the...
View ArticleSeeking DzUberIrayMaterial
I keep seeing a term in the DAZ Studio Beta release notes and I don't know what to make of it: Public API. I know (and have) the SDK and I know (and have bookmarked) the Scripting API documentation,...
View ArticleMaking new Selection Sets via FaceGroups and Regions
Hey Everyone, So I'm fairly new at scripting in DAZ, though I have plenty of experience with Javascript. I'm trying to figure out how to write the scripting equivalent of doing this: selecting several...
View ArticleBug in DS v4.11.0.383 DzSIReloadAction: Sets getScriptFileName() == ""
A Heads-Up in case you are suddenly getting wierd problems in your scripts with v4.11.0.383: Here's the test script (also attached as test_01.dsa): // test_01.dsa // Script to illustrate a bug in DAZ...
View ArticleHow to subdivide and multiply numbers?
It appears to me that just recently I tried to do some math with scripting for the first time and I realized that you can't write just asterisk or slash. I know there must be some method to simply...
View ArticlePowerPose Templates generator script
Hi, once again I started a script project to solve a specific issue I had. Read How to Get PowerPose to Work with Genesis 3? I want to create a simple PowerPose template but I'm too lazy to write all...
View ArticleQuestions about calculations involving bones
Just starting with Daz scripting, so expect a whole sequence of newbie questions from me. I'm trying to do some calculations involving bone positions. I've read the documentation on DzBone and its...
View Article