getScriptFileName() alternative?
Is there an alternative to getting the current script file name? Because getScriptFileName() keeps returning an empty string.
View ArticleBug in DS v4.24.0.3 Beta: DzSIReloadAction sets getScriptFileName() == ""
This bug was in DS v4.11.0.236 (see this thread: 333656/bug-since-ds-v4-11-0-236-dzsireloadaction-sets-getscriptfilename). It was fixed in DS v4.15.0.25, August 2021 It does not exist in DS v4.21.0.5...
View ArticleDual v4_v6 Script Example: Inheritance, Modules
Summary: The Main script file together with its associated modules demonstrates one way to implement Inheritance and Modules in DAZ Script so that the same files can be used in both v4 and v6. It...
View ArticleHow to move an IK chain parented on an object when I move this object by...
Hi everyone, I explain my question: - I have G8 male on a pose of pianist; - I have an object guide, a sphere, placed just under the left hand; - I created an IK chain on left hand and parented it to...
View ArticleGetting Currently Used Morphs
Is there a means to get the morph path of all morphs currently used or just a list of all the items in the "Currently Used" list in an figure properties? I need this for an animation tool to export...
View ArticleCreating a D-Former from script
I'm trying to create a D-Former from script. I can either trigger the 'DzNewDFormerAction' action, or create a DzDForm object. As I want a 'silent' creation (no user interaction), I can't use first...
View ArticleDaz Studio 6 crash when using DzTransferUtility::getTargetOutputFigure()
Using DzTransferUtility::getTargetOutputFigure() method from script crashes Daz Studio 6. Script to reproduce the crash : (function(){ var tu = new DzTransferUtility(); tu.getTargetOutputFigure();...
View ArticleContent Library v4.24 and v2026
How can I script my selected item in the content library? i.e. get the id or it's filename/location [absolute or relative] I can't see a script for it!
View ArticleDAZ Studio 6.x Scripting Documentation
When [will we get DAZ Studio 6.x Scripting Documentation, please]? https://docs.daz3d.com/public/software/dazstudio/6/start
View ArticleCreating symlink from script on Windows 11
I'm trying to create a symlink for a duf file using the DzFile::link method. I've created a 'XXX' folder in Scripts folder and tried to create a symlink pointing to the g8F head split DFormer using...
View ArticleQuery Daz Studio version from command line?
Does anyone have a simple method to query the version of Daz Studio from the command line? I was using this script with the -headless command line argument System.println (App.getVersion()) which...
View ArticleDazStudio To GLB exporter Testers Wanted
So i'm creating a DazStudio dsa script that exports from daz to glb formate nothing extra is needed for it to work just the single script and DazStudio which I currently have it running in Daz4.2X and...
View ArticleABAS for daz 6
Hi, would it be possible to make an AbasShader animator for the newer Daz 6 as well? That would be great.
View ArticleMaterials of a DzMaterialSelectionSet?
I can get the materials of a shape via DzShape.getNumMaterials(). I can get the selection sets of a shape via DzShape.getMaterialSelectionSets() (recursive). But how to get the materials assigned to a...
View Articleif you forgot "var" (mac impact)
In my last product, a MAC user seems to have an issue when closing the script (error popup + log file). I still don't know - I asked - if the script worked or not as expected before it was closed. The...
View ArticleDAZ 6.0 updates to existing products - notifications ?
I've got a bunch of super useful scripts I use in v4.24, like Camera Magic and Look At Me II + III(that one already works in v6). Now that v6 of DAZ is out, I will assume that the scripting language is...
View ArticleDAZ 6.0 updates to existing products - notifications ?
I've got a bunch of super useful scripts I use in v4.24, like Camera Magic and Look At Me II + III. Now that v6 of DAZ is out, I will assume that the scripting language is locked down apart from bug...
View ArticleCreate a product by script
Hi, I try to develop a script that creates a Product by script in the way You do it manually by right clicking a folder in the Content Pane and selecting Create Product. The script should use the...
View ArticleScript for rotating, bending, twisting long chained bones
Hello, For years now, I’ve been trying to solve the following problem: You have a rope, an arm, or an object with a very, very large number of bones arranged sequentially - a tail, a snake, an octopus...
View ArticleHow to Set Shader in DazScript?
I've cobbled together some informal DazScript to find the shader name for each surface selected (see attached). Now, how do I set the shader to a new value for the selected surfaces? For instance, how...
View Article