File > Save Last Draw bitmap / can a script access that?
Is it possible to get the draw buffer that is written by Menu > File > Save Last Draw, or at least to trigger that save function from a script? My script currently does...
View ArticleAccessing Tristate DzCheckBox
Hi, im trying to access (get and set) the state of a tristate DzCheckBox but nothing will work (see sample code). var cb = new DzCheckBox(wDialog); cb.tristate = true;...
View ArticleHow to call a script a pass arguments using the command line
Hello, I am trying to automate some processes in DAZ, and for this to work I need to be able to call the script and pass it some arguments from the command line (windows) var oArguments = "Message...
View Articlehow do we write unicode to file ? (help for diffeomorphic)
Hi all, it seems we're not able to write unicode strings to file using the daz script. Below an example where I try to write to file the scene name that contains japanese characters. The string is good...
View ArticleCan I create movies with content from DAZ 3D??
Dear friends I Would like to ask you what I need to Know to create 3d movies with the DAZ content (characters, props...etc) about ehe licensing agreement, amd how can I use it for commercials...
View ArticleHow to make morph with Facet Order?
Hello I'm making a script to auto Morphloader pro. http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/object_index/morphloader_dz in this daz document...
View ArticleAny way to know if a facet is selected?
It's pretty easy to find some information from facets and vertices in a mesh node. Yet I did not find a way to know if the facet is selected or not by the "Geometry Editor" selection tool (using...
View ArticleScript to simply adjust a Pose Control?
Simple one! I'm able to target the Pose Control I want to change using: var poseControl = genesis.getProperty(i); But how do I actually change the pose control value? For example if the pose control is...
View ArticleIdle Gestures and Head Movement
Hey there - although a coder by trade, I've not yet done any scripting in Daz (beyond modifying a freebie script I came across somewhere) and am certainly not familiar with the various calls within...
View Articleneed help for a script
I have a lot of file that aren't detect as Daz scene file. I need help for a script that open every file of a folder, skipping all kind of warning, save as the file using the name of the file ( yes,...
View ArticleExamining MDL materials
After setting up a DzCustomMDLBrick, is there a way I can find out if the material it is setup with is thin walled? I can use a DzMdlMaterialGetThinWalled brick in the shader network to do so, but I...
View ArticleCheck if keyframe exists for a specific pose control
Suppose I want to loop through frames and see if a keyframe exists for that pose control at frame X, is there an effective way to check for a keyframe's existance?
View ArticleAdd asset Tags / vendorKeywords
Is it possible to add Tags / vendorKeywords to an asset via scripting? I can assign an array to DzAsset::userKeywords and it shows up in the Content DB Editor, but when I assign an array to...
View ArticleHow to append "...save a render as a PNG" to a sample script?
Hi, I'm coming from Python hacking, and am a beginner trying to undertand how DAZ scripts do some very simple things. How do I add a line or two, perhaps at the end of a render-settings setup script,...
View ArticleVariable variables
Are there variable variables in Qt? I googled a little bit and it seems like NO, but maybe I googled badly. So, I asking about an analog of PHP's $$varname = 5; and about analog of this notation...
View Articlehow to use script to control plugin like decimator?
Hi, I exported many fbx files automatically, but these files are so large. Then I want to use decimator to reduce the model, so I want to know how to use script to control decimator automatically ?...
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 ArticleChanging the value of a morph on a g8 figure
This seems insanely simple, but the sample scripting and other questions posted on here do not seem to have much direction to give me. I want to change the value of a handful properties so I can run a...
View Articleload HTML file in a script
I was looking in the example file for "Simple Text Browser Dialog", and I noticed at the end of the script, it's loading a HTML file from inside the DAZ Studio application folder. What if I want to...
View ArticleScripted Filament Renderering?
Hello all, I posted the message below to the SDK forum yesterday, but not as many people appear to post and read there. This morning I thought maybe somebody may have a solution using Daz Script and I...
View Article