Script for switch from one layout to another and back
Hi everyone! Is there any chance to switch from one layout to another and back using script? Each time I want to transfer my custom toolbar to another PC copying files, I need to do this action to get...
View ArticleGetting Property Name
I'm having an issue where when I read a property name string, I gate a string with the text "Value". var oOwner = oProperty.getOwner(); var sPropertyLabel = oProperty.getLabel(); var sPropertyName =...
View ArticleGetting Currently Used Properties
Is the a means to get all the poperties that are being usef for an animation, simular to clicking on the "Currenly Used" button? Bruce
View ArticleWriting a little script to open a PDF file?
Hey guys, I am looking for a little script that will open up a PDF user-guide when clicked on. The purpose is simple: Rather than having the user search the support folder for my PDF manuals, I would...
View ArticleSurface Selection Script
Before I ask my question I would like to state that I have no idea how to make script or where to even start. Can a script be made to select all surfaces with a particular named texture map or via...
View ArticleMDL to Shader Converter
This script generates Shader Presets from MDL files. Thank you to @Catherine3678ab and @Bejaymac for help with shader bricks! The attached shader networks are generated depending on whether the...
View ArticleDzShaderSupportAssetFilter updating assetURI inconsistently?
I'm having an issue with DzShaderSupportAssetFilter not consistently updating the assetURI on the material it is saving. Setting ApplyToLikeSurfaces false makes the issue much worse, but it occurs...
View ArticleTrouble with DzBox3.getIntersection
I have created a box and determined the intersection points with a ray. Instead of the expected values, I get [0,0,0] and [1,1,-1]. If I swap the ends of the ray, I get [0,0,0] and [1,1,5]. I would...
View ArticleSave Parameter Favourites
Hi all, I am no stranger to scripting, did my share bash and some powershell but haven't done any Daz scripting. What I'd like to do is save the favourites I tagged in the Parameters tab to a file so I...
View ArticleDzProperty Enumerations and Interpolations
Hey, I don't know if that has been asked before, I tried using the search, but it keeps finding irrelevant topics. Have anyone managed to use the DzProperty.setKeyInterpolationType method? It seems...
View ArticleAdd bones to a figure via script
Is there a way to add bones to an existing figure via script? Preferably sibling bones under the root figure (not the root hip/pelvis). I intend to use these bones for parenting props to for use in...
View ArticleHow to check "Show Hidden Properties" by script?
There is a "Show Hidden Properties" in the option menu of parameter pan. Like following picture. I want to check it by script. Is there an API for that? Thanks
View ArticleDetecting double-click on a node in the Scene Pane
Anyone know of a way via scripting (signals/slots or otherwise) to detect when a user double-clicks on a node in the Scene Pane? - Greg
View ArticleDzQuats and Eulers
I'm trying to track down a problem, and I think it has something to do with the way Daz Studio converts eulers to quaternions, and vice versa. function doIt() { var DEG2RAD = Math.PI / 180; var RAD2DEG...
View ArticleBatch Subset loader / scene fixer
Hi everyone, I need some help. I'm sure we all know this case when you create twenty scenes off of the same base scene, then realize there is a light missing, you forgot a background item or character...
View ArticleFinding rogue morphs?
I threw together this script to find rogue morphs that have been turned on, that shouldn't be on. Basically, load the default male or female character into the scene, and select it. Under normal...
View ArticleWhat is this error after using a script for splitting head and body and using...
2023-02-15 16:50:56.722 [WARNING] :: Index out of range in DzWeightMapValues::getWeight() 2023-02-15 16:50:56.722 [WARNING] :: Index out of range in DzWeightMapValues::getWeight() Now my morphs don't...
View ArticleTCB data format in DSF files
{ "op" : "push", "val" : [ 0, 0, 0, 0, 0 ] }, { "op" : "push", "val" : [ 0.7, 0, 0, 0, 0 ] }, { "op" : "push", "val" : [ 1, 1, 0, 0, 0 ] }, { "op" : "push", "val" : 3 }, { "op" : "spline_tcb" } Are...
View ArticleHow to affect an image to a material property
Hello, I try to create a simple script for automatically affecting the proper material to Kitbash3d props. It's very easy because the name of the material is more or less the name of the different...
View ArticleHow to add "Genesis" figure automatically via script to the scene
Hello! This is probably a very basic question, but I couldn't find any sample on the official documentation regarding this - I want to automatize the process of: Adding a Genesis figure to the scene;...
View Article