A simple script to utilize the viewport preview to dramatically redcue...
I recently got a RTX 3090 as a companion to my RTX 2080. Render times are certainly blazing fast for static images. However for animations or image sequences render times overall weren’t that much...
View ArticleMulti-threaded loading/saving
Hi So for some of the people with a large amount of characters, loading Genesis takes a significant amount of time. This is also true if you load heavy scenes with a lot of high res textures / models....
View ArticleScript retrieves name from a nodes getPropertyGroups(). How can I edit that...
In the following function from a larger script, g_charName is created and later used to check if textures already exists in a location. This is causing me issues because if I use the same base (G8.1...
View ArticleScript to add Emissive Properties to Selected Objects and Figures
I have not tried scripting in Daz before this, but this is a pretty simple idea. With some help, it should be easy enough. I would like to add emission to all selected objects and figures by copying...
View Articlealign tool is a script?
it seems the align tool is basically a script? we select two items (or more) and click a couple parameters and bingo stuff is aligned And it's wonderful ... but it has limitations (or I may have...
View ArticleHow to get DzAsset via Filename?
How can one get a DzAsset object from a filename (prefered absolute but can be relative)? According to another post it should work with AssetMgr but I haven't manged to figure out how. I have tried...
View ArticleHow to script Refresh of Content Library pane?
I would like to script the equivalent of right-clicking on the Content Library pane, and choosing "Refresh". I want to be able to navigate to an item in Contently Library pane, but can't because the...
View ArticleHow to call a static method without an instance?
How does one call a static class method for Dz* classes? It works as expected on ECMAScript classes: Array.isArray([]) Date.now() String.fromCharCode(65) But fails for all the DAZ classes:...
View ArticleSelect a strand based hair object
Forgive the noob question. I am trying to find a script or at least a function that will select a strand based hair object so that I can set its subd level. I tried a script I use to set visibility on...
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 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 ArticleEnable/Disable smoothing script
I have no idea where to start with scripting but I'm looking for a way to select all items within a scene with a smoothing modifier and set the smoothing to off, to minimize program lag then reverse...
View ArticleAnyone seen Richard's Script list collection
Does anyone have the link to Richard's collection of scripts? If I recall he had a nice list of common sample script activities that are outside the daz documentation....
View ArticleLooking for a script to identify the selected figure
Looking for a way to identify the selected figure and perform a task based on the selection. Example: if scene has both G3M and G8M. User selects G8M script identifies that the figure is G8M and set...
View ArticleDAZ script for erc-bake multipel files
Hello, I have a bunch of file where I want to remove the erc-freeze. I figured out that erc-bake is the way to go, but erc-bake is only working for one file at once. so, I thought maybe a little script...
View ArticleIs there a scripting option for Transfer utility?
How can i launch the transfer utility via script and pass parameters as an option. Secect figure and an object Launch utility with selected figure as source and object as target using predefined...
View ArticleAdding CustomAction to a *.duf file via script
Had enough of losing custom action menu, so I wrote a script that reads a CSV file to create a Scripts menu. The script is heavily based on the example from Daz Studio here:...
View ArticleAccessing QT from DazScript?
QT has some needful classes like Hash and Set but in DazScript I couldn't create an instace of them. Is there any example how to use them in DazScript or ist it impossible?
View ArticleTrimming a dForce skirt via scripting
Hi there, all. I'm trying to create a script that would cut a maxi dForce skirt to different lengths by deleting N rows from the bottom. Because it has a surface for the hem, it can be done by...
View ArticleExample of Successfully Adding Facets to a Face Group?
I'm trying to use addSelectedFacetsToFaceGroup() but I always get "Result of expression is not a function." Using addSelectedFacetsToMaterialGroup() works fine in the exact same spot and I get expected...
View Article