When exporting fbx by script, "doBaseFigurePoseOnly" setting doesn't work?
I'm trying to fix a bug about high heel of Official Blender Bridge. And find this "doBaseFigurePoseOnly" option when exporting fbx by script. In official bridge, "doBaseFigurePoseOnly" is set to false....
View ArticleHow to restore bone's center_point and end_point to default by script?
There are some high heels gonna change feet bone's center_point and end_point when wearing them. These high heels run following code in their .duf file: { "id" : "lFoot", "url" :...
View ArticleScript DzUiLoader and QSlider to DzSlider
Hello, I'm trying to use the QtDesginer and load it with DzUiLoader to produce a quick UI for a personal script, and everything seems to work fine except the QSlider, it doesn't display as expected, as...
View ArticleContentManager API not working?
The script below is based on the API documentation but returns nulls. At least for me, getFirstFolder() and getFirstFile() don't appear to be working. Unfortuntely there are no getNumXXX() and...
View ArticleProblem about save pose parameters and set the parameter to another character
Hi, I'm trying to use Daz script saving pose parameters (Position,rotation,scale), set the saved pose parameters to another character. Here is the script I used to save all 233 labeled bone's parameter...
View ArticleShaderbuilder and Scripts
I have seen and verified that the parameters of a material or shader can be created using scripts to create a preset, and I have two questions: 1. How is this linked to the shader definition file with...
View ArticleMaterial visibility
Is there a method to know if one of the materials of a node does not appear in the camera being rendered? This serves to check the visibility of a node: Scene.getNode(j).isVisible() I imagine there...
View ArticleNew version of DAZ Script?
DAZ Script now seems to follow the ES 5 standard - or has it always followed it? The following example seems to work: var x = {a:11, b:22, c:33}; Object.keys(x).forEach( function(key, idx){ print(key,...
View ArticleScript to toggle "Visible in Viewport" for all lights/cameras?
From DAZ Studio 4.11.0.36 (2017) and higher there is an on/off setting in Parameters called "Visible in Viewport". This removes the wireframe of a light and a light's ray-indicators in the Viewport,...
View ArticleWhat is the RI_NULL Renderman version for DAZ Script?
A call to Display in Renderman has the following structure: RiDisplay("name.png"," png.dpy","rgb", ["token"], ["parameter"]); where ["token"] and ["parameter"] are a list of parameters associated to...
View ArticleUse of QObject.deleteLater()
I've seen in some of the code samples where the method QObject.deleteLater() is sometimes used. For example, I was looking at the sample "Save a Pose Preset", and at the bottom there's a line where an...
View ArticleScript to loop through folder of duf files and save as presets?
I have a folder full of .duf files each containing a single instance of a Genesis 8 Female model. I would like to loop through these files and save each as a pose preset and a camera preset. The...
View Articleaccessing dForce surface values by script
When you add a dForce modfier to a character, several simulation parameters are added to it and can be edited in the surfaces tab. Is there a way to access them by script? If I iterate the property...
View ArticleSimple Frames to Iray server queue adder
Hello, I want to write a script that goes through all the frames in a scene one by one, and adds them to an Iray server I already set up. The going through each frame part I already made, just not sure...
View ArticleA little confused by signals & slots and passing values
Hi All, I'm trying to get the value of an inputted value off a widget in a *.ui file, how do i do that? Here's my code: var ui_root; function cb_entryBox() { //How do we get the entry box value?"); }...
View ArticleIs it possible to automate the inclusion of frames on the iray server?
It is already known that DAZ does not yet support sending animations to the iRay server. Doing this process manually is extremely exhausting However I would like to know if it would not be possible to...
View ArticleEvul malefic crazy behavior of a shader by script at render
I have a shader called compo2.sdl which output applied manually to an object surface (then rendering) is It is supposed that the output applying the shader by scripting should be the same. For the...
View ArticleHow to add context menu / right-click menu?
You know how you right-click on the scene and that menu options pop up? That's what I want to do. How do I do that?
View ArticleCancelUndo() vs DropUndo()
If I begin a script with beginUndo(), and then at some point I need to abort/discard the undo, what method should I use: cancelUndo() or dropUndo()?
View ArticleHow to get QObject of current script running?
How do I get the QObject of the script that is currently being executed?
View Article