Relative Paths for Image Manager
I was editing the 'Create_Layered_Image_Backdrop' sample script, and was wondering if Image Manager has a way to deal with relative paths. I mean, with Content Manager, there is the .getAbsolutePath()...
View Article[Partly Solved] How to detect that a DzDialog is about to Close?
Hi All, I've been reading this forum for a few years, but this is my first post - so I'll start by saying a big Thank You to all those who have been so generous with their time and knowledge, in...
View ArticleLoading image file layer
I was trying to apply a line of code by 3dcheapskate (http://www.daz3d.com/forums/discussion/30157/daz-script-2-getting-standard-surface-parameters-using-layered-images-almost-done-now#latest) about...
View ArticleIs a child a geograft?
When looping thru the children of a node, is there something I can check to see if that child is geografted to the node? var gNumChildren = oNode.getNumNodeChildren(); for( var c = 0; c <...
View ArticleScript or bridge as ZBrush GOZ to properly import characters generated with...
Hello everybody! A remote possibility of interaction with the resource provided by mixamo.com/auto-rigger, a script or bridge as ZbrushGOZ to properly import characters generated with self-rigger...
View ArticleHow to list all the properties of a group ?
hello, I'm looking to list all the properties of a group name "ZBrush" but I can't figure out how to do I can get the list of all pathes using : const oNODE = Scene.getPrimarySelection(); if( oNODE ){...
View ArticleDoes "invalidateBoundingBoxes" work on a DzGroupNode?
Hello, I'm finishing a script where some nodes are gathered in a DzGroupNode, and then translated in the scene. This results in issues with the group bounding boxes (which seem to use the location...
View ArticleSetting material selection state
I want to chnage the selection state of a material, but DzMaterial.select( true ) doesn't seem to do anything. I can get the selection state, so I think I am working on the correct property. This is a...
View ArticleTrigger menu action from script
Hi just starting scripting and I want to trigger a menu item from a script. Any pointers gratefully received!
View ArticleGrab Texture Maps For Genesis 2 - Genesis 1
Hi to all I have managed to apply one map assigned to one variable (for instance diffuse color) to another variable (translucency color) by a script for Genesis 3 figure. But unfortunately the same...
View Article[solved] Filter filename string?
@RobWhiz I just checking if there is an API somewhere in the scripting to filter a string so it wont contain non file system savvy characters, or if that is something I need to do myself. Just that...
View ArticleHow to swap left and right symmetry in script?
How do I achieve the same functionality (recursive swap left right) as the symmetry dialog in Daz Studio GUI?
View ArticleTrying to figure out this weird situation (and crashes)
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 Articleimport_obj_morph_loader_silent,please give me a sample!
import_obj_morph_loader_silent,please give me a sample!
View ArticleHow to script modifying a body shape?
Hello, I'm trying to write a very simple "random character" script, but I really don't know to script. I have to do two things : - How to get existing shapes names for an object ? - How...
View ArticleHow to delete a morph knowing his name ?
hello, is there a way to delete a morph knowing his name ? I'm using this script to detect the name of the group where the morph belong and I get his name using getLabel var oPaneMgr =...
View ArticleDaz Uber Iray Instance Tiling - How to Change?
I am trying to make a script that will change the instance tiling (in the Image Editor) for a bump map image in an Iray shader. In my duf file the only things I see referring to it's tiling are these 2...
View ArticleHow avoid double rotation of prop passing from 360º to 0º
I have a script that change the rotation of props from frame x to frame ( x+15 ). Daz fills the middle frames and here is the problem: If the prop pass the rotation from 348º to 358º ok. But passing...
View ArticleClear render to viewport
In my script I render to viewport to check how something looks after a change. But I can not figure out how to get the viewport back to developement. If I close the script and click on the viewport it...
View Article