Keypress (down and up), mouse move, and mouse locking
Does anyone know how to do either of these functions in Daz script: Detecting: Key Down Key Up Mouse Movement Overriding: Mouse Locking (into the center) Where could I find out info like this? The...
View ArticleHow to control the service button in the header?
Sorry how I can control these buttons( now default in dialog) or remove them? I do not need in Help button because I have a normal HELP with images in script and I want delete this button. I don't...
View ArticleHow can I display images in a dialog box?
Hello everyone. I'm new to daz script. I have spent a few days searching on the forum, reading the docs and examples. The only useful class I found is DzListViewItem,which can be used to display pixmap...
View ArticleAnalogue of QT Spin Box and Double in DAZ script?
I can't find the analog of QT widgets Spin Box and Double Spinbox in DAZ script documentation. Does anyone know this? If you want to work with QT widgets (UI file), you can use the signals in DAZ...
View Articlescript for DzTabWidget
I've found a script for DzTabWidget. Perhaps it is required someone. wDlg = new DzDialog; wTabStack = new DzTabWidget( wDlg ); wOptionPage = new DzVGroupBox( wTabStack ); wPrefsPage = new...
View ArticleOpening a text file and writing ascii data to it via script
I searched around and didn't find a clear answer for that. I use the print function to make specific output of coordinates and angles of joints to the log file. I'd like to put them into an generic...
View ArticleChanging Toe poses in script
I am writing a script that modifies the pose orientations of the different bones in a figure. I use the getXRotControl(), getYRotControl(), getZRotControl() to modify the values. This works for all...
View ArticleGetting Snapshot Image?
Is there a way to get a snapshot from script? When Daz creates a new pose preset, etc, it saves a snapshot as a png with it. Is there a way to get a similar snapshot from script? Thanks.
View ArticleColor Picker for Daz Studio
If this has already been discussed somewhere, please forgive me... and maybe point me to where the discussion is :) If not.... What I'd like to know how to do is create a script that would allow a user...
View Articleget corrective morph assignement to a joint via script?
Genesis 3 Female has corrective morphs assigned to the joints via add multiply or spline (e.g. pJCMPelvisFwd_25) In the file pJCMPelvisFwd_25.dsf theer are parameters like type, label, min/max, but...
View ArticleNeed a script developer help
I'm doing some geografted figures, so the figures share some surfaces materials with the original figure, new G3 characters MAT poses will only apply the figures designed for, so I need an scritp to...
View ArticleObject description for names ending with _dz not found
Objects like erclink_dz are marked red and the link ends on a dead site in the Documentation Center. Are they defined anywhere else? I just wondered, as such object types are sometimes the result of...
View Article* Solved* Estimating memory footprint of an object?
I'm trying to figure out a way to estimate the memory footprint of an object in the scene. - Sizes of image maps used, but only for the firtst object using those maps, any new objects will use the...
View ArticleGetting transformed DzBone origin and endpoint
Does anyone know the proper way to get this? DzNode.getWSPos() seems to be right for the origin, but there isn't a similar method for the endpoint. I've tried various approaches walking up the tree...
View Article* Solved, sort of * Accessing DzInstanceNode causes viewport flickers
I'm working on a script that accesses DzInstanceGroupNodes and pick information from them, it also does things with "normal" instances, and adds objects to the Scene Hierarchy. FYI: The...
View ArticleSetting Random Seed?
I've looked everywhere and I cannot seem to find the function to set the random number seed. I need to be able to repeat the same random number sequence in response to a slider changing. Is there...
View ArticleHelp - how to apply a shader definition via script?
I modified a script to loop through every material in a scene, removes all bump and displacement maps as well as setting the strength value to 0. I want to also have it apply the default DAZ matte...
View ArticleUndocumented ERCLink Type?
Hi, I wrote a Script to get the Type of ERCLink of a Controller print ("ERCLink (DeltaAdd, DivideInto, DivideBy,Multiply, Substract, Add) -> ", aControls[k].type) The result for this Controller...
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 ArticlePrivate Properties, Slave Controllers?
Modifiers have properties and private properties. They also have controllers and slaveControllers. I just wonder, what is the difference. Does private mean that this is a user specific property and how...
View Article