Automate aging
Hi guys i want to animate aging a model. I see sliders available to do this. Is there anyway to script this ? ie set the slider from min to max over 10 mins and render the animation ? thanks in...
View ArticlesetOrientation() issue
I have a small problem I'm trying to solve and it has to do with setting the Orientation in the joint editor. Normally, I use these methods to set the joint transform: setOrigin() setEndPoint()...
View ArticleHow to use Daz Script to import & assign materials to a mesh?
Hi all, I am currently writing a program using Daz Script to import a .fbx file that contains a mesh into Daz3D. The Materials and Textures for this mesh are saved as seperate files, and I am trying...
View ArticlePlease help on UndoStack usage
Have fully read the DzUndoStack page, and found a lot of methods, but can not find any example, so don't know how to apply them in script. Here is my exercise: // This is a Undo test script var...
View ArticleSelection Maps
I was just wondering, does scripting or code have any tools to automatically generate selection maps, assuming a figure has none? DzSelectionMap* selMap = new DzSelectionMap;...
View ArticleHelp for create script Daz for render NFT collection
hello, I want to create a script to generate random characters by selecting assets and rendering to PNG with an associated json file? someone help me please? I'm not familiar with DAZ scripts. thank you
View ArticleHow to Save a rendered image & Add Canvases
Hello, I have just started with Daz scripting. I'm trying to load a file, add a canvas and save the rendered image as a png. I have been able to load a file, start the render and activate the canvases...
View ArticleHow to create/instance a dockable pane?
Hi All, Maybe this is a FAQ but 've been banging my head on this for too long using just the on-line documentation. Time to swallow my pride and just ask: how do I create/instance a new dockable pane?...
View ArticleOPEN EXTERNAL FILE
Hi I need to open an external file (pdf, avi, jpeg) with default windows application using a script. I ask also another thing: how can I create a web page link in a Message box ? I'm sure someone...
View ArticleFinding geometry shell visibility properties
Is there a way to get the shell visibility DzBoolProperty on a DzGeometryShellNode from a DzFaceGroup, DzMaterialFaceGroup, or DzMaterial on the same geometry shell or do I have to string concatenate...
View ArticleScene elements list
Hello, I want to find scene variables like current time frame and how many frames are there in scene, How doi I find a list of them all? I looked at the script doc help but that didnt help me. Thanks.
View ArticleHow to change surface name by using script correctly?
Here is the problem: When I set surface name with DzMaterial.setName() funciton, The new name can show at the tool setting pannel but not at surface panel,when i save file,the texture will lost.
View ArticleInspecting pixels used on a facet
This is more of a math question than a scripting question (unless there is a builtin method to do this) but I don't seem to know enough about the topic to create a useful search query... I would like...
View ArticleHelp for Multiple Rendering Passes with 3Delight
I’m working on a script for 3Delight scripted, but I’m failing to get multiple passes, I try to do it with a for loop, but I don’t get any results. This supposed that I should get several images, one...
View ArticleWorld Recenter script - feedback sought
I've finally dipped my toe into the world of Daz scripting and written my first one. Here's what it does... There are rendering errors that can occur in Iray if a character is too far away from the...
View ArticlePrevious preset awareness/cache?
Hi everyone Through a custom script, is it possible to recall the last preset applied? Would it be cached in DS some way? For example: I apply a material preset to my figure/object Run my script which...
View ArticleImporting an FBX file with the correct orientation
Hi, I am currently trying to use DAZ Script to import an FBX file that originated in Unreal Editor. However, when I import it the mesh appears flipped on it's side (see attachment). Is there any way...
View ArticleHow to read a JSON file?
Hello, I would like to read a Json file in Daz script,but here's some problem!! when I tap the oData in the script, I got the right value -0.1102951 in the first print and 0 in the second print. var...
View ArticleAny way to get camera Intrinsic and Extrinsic?
Is there any way to get camera parameters in Daz script? like Rotate metrix, t (Extrinsic) ,K(intrinsic).
View ArticleGroup Bounding Box Questions
I wonder if someone could help me a little conceptually. In a script I am adding instances of an object to a group. Each instance ends up being selectable in the scene tree, and having its own bounding...
View Article