Align buttons to the right
I want to add a button to the bottom right. What I've done is add a group box Then inside it added another group box, (aligned to the right) as well as the buttons. This works, but unfortunately,...
View Articleexporting all vertices using a function
Hello, I am writing a script which needs to get all the vertices of a geometry. This action can be done by writing a loop using a myGeometry.getVertex(i). This loop takes 5 seconds when the mesh has...
View ArticleIs it possible to get the directory of a script.
Hello, I need to get the directory of a script I wrote because I need to use a file which is in the same directory. The script can be installed in any folder and I have no solution to find how to reach...
View Articleway to encrypt a script for an older DS version than the encrypting one
I have several (commercial) scripts encrypted with Daz Studio 4.8.0.59. Today I need to upgrade it to the latest version of Daz Studio, but I'd also like to be able to update my script projects - or...
View ArticleHow to Keep Breakpoints?
I've just started playing around with DAZ Scripting, thanks to all the excellent tips out here and samples on the DAZ website. But one thing is really annoying me.... I have to keep re-setting the...
View ArticleDzFloatSlider How to Make Text Box Bigger
I'm using a DzFloatSlider in a dialog box but my max value needs to go to 100,000 and it's being truncated in the text value box. Since it's editable, it would be nice to be able to see the whole...
View ArticleHow to test for NaN? [SOLVED]
In DS v4.10.0.123, a test for Number.NaN always seems to return false. Am I missing something?: // Script to test Number.NaN // Define an anonymous function; // serves as our main loop, // limits the...
View Articledetecting collisions
Hi , i have two questions. i'm planning to write a script that can help avoid poking through something when posing a character (a kind of basic physics engine) is there a method to detect collision...
View ArticleBrackets and curly brackets on non US (Scandinavian) keyboards?
I'm getting my feet wet using the Script IDE and to my surprice it's impossible to type both brackets and curlly brackets Script IDE editor on my Swedish keyboard?!? It is possible to copy the...
View ArticleTextfield with autocomplete, area with scrolling
Hello. Is it possible to create textfield with autocomplete in BasicDialog? I have an array with predefined values for textfield... and... Where can I find example of code, please. And second question....
View Articleto select node in the needed figure
I have 2 figures in a scene to example - Genesis(1) and Genesis (2). I need to select Hip in Genesis (2). var roots = Scene.getNodeList(); var itemLd=Scene.findNodeByLabel( "Genesis (2)" )...
View ArticleRename objects and objects parented to other objects
Im looking for either a script that will rename items parented to a selected object, or pointers on creating one. Many thanks
View ArticleAnybody fancy doing a (freebie) DAZ Script version of Easypose ?
Several months ago I wrote a freebie PoserPython script to add Ajax-type Easypose to a figure - released as Freazypose (prototype 0.10) at ShareCG. Inevitably I've had a query as to whether it'll work...
View ArticleMesh smoothing disabled in scene opened by script - help?
I'm having problems with a script to batch render scenes in Iray. TL;DR The script will open a scene (or scenes) from files and render each camera in the scene to a file, but clothing items are showing...
View ArticleClasses and Separating Script Files
Just wondering if it is possible to seperate a script into separate files? I know a function expression is used to declare a constructor functions; can and if so, how, can these be separated between...
View ArticleNeed help with ( Save a Material(s) Preset Script )
The Save a Material(s) Preset script running in Silent mode isn't saving the same as it does with the same user input information. With run silent set to true I get this. I change the run silent to...
View ArticleHow can I delete an asset from a product?
I'm trying to delete an asset from a product. I tried the code below but product.removeAsset("Product name")); always returns false and the asset doesn't get deleted. var products =...
View ArticleUsing a Palette to change DzWidget colours
Using a Palette to change DzWidet colours has anyone made this work and have some code examples to show. var oMyNewGB = new DzGroupBox(); oMyNewGB.paletteBackgroundColor.setRgb( 0,0,0 ); // does...
View ArticleScript to install content to the menu
I've seen it from products from V3Digitaltimes like the Pose Mixer. It comes with a script that when you click on it, it will create a folder to a menu next to "scripts" and puts the product there in...
View Articleweight maps
Is there a way to get hold of the weightmap information attached to a vertice / mesh or bone? I can get the node, the vertex, the Skeleton and the bone. I hear that boneBinding links the two together,...
View Article