Remove/Reset LIE masks and layers
Is there a way to remove the LIE masks/layers applied to a surface?
View ArticleGetting label of layered image
I can't seem to get the label of a layered image... .label returning undefined.. oMap = oProperty.getMapValue(); if( oMap ){ if( oMap.className() == "DzLayeredTexture" ){ NumOfLayers =...
View ArticleIs it possible to change the internal name of a daz figure (not label) ?
hi, I would like to change the internal name of a genesis figure but I don't see how to do it and if it's possible In this example given by the node properties, it's "Genesis3Female_dup_2" I want to...
View ArticleIs it possible to manage accents in dialog boxes ?
hi, when I run a script with words containing accent in a dialog box in script editor, everything goes fine but when I launch this same script with a shortcut, accent is no longer managed I've tried...
View Article4.9.4 broke DzListView clicked
Hi, I have a script I am writing where I was hooking into the clicked event of the DzListView: wListView=new DzListView(dlg); wListView.clicked().connect(function(){...
View ArticleBUG REPORT: DzGroupBox.flat property not working
I was asked by tech support to post this to the forum as they are unable to provide tech support for DAZ Script bugs. The below script demonstrates that DzGroupBox.flat does not work. As you can see...
View ArticleBUG REPORT: DzIntSlider.min / DzIntSlider.clamped not working
I was asked by tech support to post this to the forum as they are unable to tech support script bugs. The below script shows that either DzIntSlider.min or DzIntSlider.clamped are not working when...
View ArticleTrying to figure out this weird situation (and crashes) [solved]
I have a tab control, 3 tabs, and listboxes in two if them (hierachial data), and I enable/disable tabs based on if the listbox has a selection or not. I also made a small proof script for this to show...
View ArticleSaving a vertex selection script?
Been trying to save selected vertices for using in creating morphs for use later. However the scene file does not retain the selection. Is there a way of creating a pose or script that can reselect the...
View ArticleHow do I pin the translation/rotation of a bone using a script?
How do I pin the translation/rotation of a bone using a script? Is there some simple thing like Bone.IsPinned = true or something like that?
View ArticleReferences to paired controls in list
Hi, I have created a list of PAIRS of controls that need to refer to each other. I have a function that creates each pair, as an example: function CreatePair(tab) { var cb1=new DzCheckBox(tab);...
View ArticleReading images in folder...
I'm looking to reading images in a folder, then applying them to figure or prop. A few pointers in the right direction will be helpful. :)
View ArticleExport scene property values to DUF
Is there any native support in the scripting environment to generate DUF files from a scene in DAZ? I need to export a specific set of properties values to a DUF file. I can certainly do this...
View ArticleGet assets of certain type from Content Library
Greetings! I try to fetch all Expressions of Genesis 3 from the Content Library. I use the DzContentMgr to try to locate those expression packages, but it seems like I'm operating on the file level,...
View ArticleCreating a morph via script, and getting clothing to conform
So I've been able to create new morphs for G3F via script. The dials show up under Parameters -> Morphs with the figure selected, and they dial in the morph as expected. Aces. However, when I fit...
View Articletemp() and tempPath() not working, or is it just me?
This throws an error for me: // DAZ Studio version 4.9.4.117 filetype DAZ Script (function(){ var foo = DzDir.tempPath(); print(foo); // Finalize the function and invoke })(); Error: Script Error:...
View ArticleCreating a morph via script and posing that figure
In last weeks episode of creating a morph via script, we learned that you have to call setCanAutoFollow( true ) on the property (not the morph) in order to get clothing to follow the morphed figure....
View ArticleCreate and position a DzLight light via script
Hi I've been searching for a while for a way to create and position a light via script. But no success. Have (mistakenly) downloaded the SDK where I can see QT style methods and properties but nothing...
View ArticleSet surface tab "diffuse color browse" by script
Dear Friends , I want to write the script choosing diffuse color by browsing images (jpg/png) as below http://imgur.com/a/03Zf4 The main purpose is to attach the texture source pic to the importing...
View ArticleFinding morphs for an SKU or Product
I was trying to expand the scripts here https://www.daz3d.com/forums/discussion/154611/how-to-find-morphs-by-specific-artist-in-shaping-tab-panel#latest hoping to get a way to take a product (I was...
View Article