What are the memory limits on String manipulation ?
Hello everyone! I'm actually trying to make an export script and I'm facing some limits of Daz DSA Scripts. Basically the format need to be a single JSON containing various properties and objects, so I...
View ArticleA script to control a selected Property, with large font size, and Preview...
The font size in the Parameters Pane is too small for comfortable use for me, and the controls for fine-tuning a value are a bit indirect, so I've written this to help me in these particular areas. I...
View ArticleExecuting Daz Script from external application
Hello! I'm trying to procedually generate Daz3d scenes with a Daz script. Now I would like to integrate that script into a nodeJS application. My question is rather simple, however the answer might be...
View ArticleActions wont trigger. No errors
Using this http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/actions/action_trigger/start these actions wont trigger, there is no error and code...
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 ArticleHow to get screen position of a vertex?
So I have a Genesis model, and within that model I have 2 vertexes that I need the screen position of(on the final rendered image). Example of what I'm trying to achieve: 1. My Script randomizes some...
View ArticleLooking for Simple Script Example - Add LIE Layer
Hi all - thanks for all the posts here, learning so much. I found the document for LIE DzLayeredTexture - but there's not an example there, unfortunately of how to implement. I can probably work from...
View ArticleMemorize and restore items by script?
Hi, can one of the script gurus tell me how to execute a menu command by script? Epecially the [Edit]\[Object]\[Memorize]\[Memorize Selected Item(s)] and [Edit]\[Object]\[Restore]\[Restore Selected...
View ArticleHow to use DzAssetMgr.searchForAssets()?
Hello all, I am trying to use DzAssetMgr.searchForAssets() this is my code. // DAZ Studio version 4.21.0.5 filetype DAZ Script var assetManager = App.getAssetMgr(); var searchResult =...
View ArticleHow to Select Node/Object in Scene by script + Clear all Selections by script?
So theres two scripts I need, 1 is to simply select an object/note in my scene and the other is to clear all selections in my scene. The goal is to first clear all selections in my scene and then...
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 ArticleDoes inheritance work in DAZ Script
Hello, after several experiences with DAZ Studio metadata I am considering writing a script to make handling my problems easier for me, especially for managing my own categorization and tags which I am...
View Articlescript not finding the model in the scene
Hey Fellow Daz entousiast ! i'm following the tutorial here (https://www.deviantart.com/3dstrobist/journal/Transfering-Mixamo-Animations-to-Daz-Genesis-8-1-906594358) to import mixamo animation into...
View ArticleCommunication between two Daz instances
Are there any objects that are shared between instances of Daz that can be accessed by scripts ran in those instances? I want to pass information between instances of Daz Studio.
View ArticleNode name in Daz Script
I cannot figure out the node name to use for Upper Face Rig in a script I'm trying to kluge together. Lower Jaw is simple enough; lowerJaw. However, I've tried several permutations like upperFaceRig,...
View ArticleSet GraphicsMode
DzApp has an enumeration for GraphicsMode, and a method to get the GraphicsMode, but I'm not seeing a method to set it. I didn't see a command line option either; is there a way to start Daz or switch...
View ArticleProblem with RegExpr
I spent an hour trying to get this working: string = "My STRING=15"; regx = new RegExp( "(\d+)", "g" ) //regx = /([A-Z]+)=(\d+)/; //regx = /(\d+)/g; //regx = /[\w]+/g //stringObj = String(string)...
View ArticleMy fight with quaternions
So, I've been trying to write a script to create and eventually animate complex geometrical objects. I did this in MaxScript for 3D Studio Max years ago, and I want to explore further using Daz (cannot...
View ArticleHow to Identify a Key Value?
In the timeline keys can be created at frames for a node property. When reading a node property for a frame how do I know if it is a key value or not? i.e. How do I know if the timeline would show a...
View Article