Quantcast
Channel: Daz Script Developer Discussion - Daz 3D Forums
Browsing all 1036 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

How to retrieve the vector value of a specific vertex at a certain point on...

var target_vertex_index = 21616; var frame_range = [0, 4]; var time_step = Scene.getTimeStep().valueOf(); var start_time = frame_range[0] * time_step; var end_time = frame_range[1] * time_step; var...

View Article


Run Script after Unfitting Clothing

I was hoping to run a script AFTER a particular pair of shoes are un-fitted (or deleted or even hidden) from a genesis 8 female.  My reason for this is the shoes set a rather-hard-to-find hidden set of...

View Article


Guidance on using scriptFinished( String filename ) signal from ContentMgr

Hi Everyone,  I have a script that needs to load several .duf files into the scene, and I wanted to take advantage of the ContentMgr::scriptFinished signal to learn when the first script completes...

View Article

How to deselect Assets in a file content tab?

With getSelectedAssets() I can retrieve the assets selected in a tab. Now I want them (or all on the tab) to be deselected; selectAssets(“”, [“”]) does not work.

View Article

Preventing a DzBasicDialog from executing when Return/Enter is pressed

Hello, I have a small script I am working on that requires the entry/modification of a few numerial values before 'executing the rest of the script' when the Accept button is pressed. When entering...

View Article


Image may be NSFW.
Clik here to view.

How to Geometry Select By Face Groups in script?

I want to make a script to auto select Face Groups(by bone name), but I'm not sure how to do that in script, is it possible to select the Face Groups in script? Attach images is how I do manually in...

View Article

Script exits early?

So I have a script that basically does two simple operations: Load a scene file, using Scene.loadScene() Send to an iRay Server using the Bridge, using oRenderer.exportRenderToBridgeQueue() The script...

View Article

help with a script idea (IOR value insert) , and I no idea how to write one

I made a list of IOR values and the material names. I would like to create a script that lists the names and the values that allows the opperator to select the value and it will change only the IOR...

View Article


I couldn't find all the morphs

var node = Scene.getPrimarySelection();   if (node) {     var obj = node.getObject();     if (obj !== null) {           var numModifiers = obj.getNumModifiers();            for (var i = 0; i <...

View Article


OBJ Morph Loader Import stopped working in 4.23

Hello! Yesterday, I prepared and submitted my new asset for review. This asset heavily relies on importing OBJ files as morphs via ascripts. I based my work on this example:...

View Article

Help with texture applying/copying and setting values script

I need a script that does the following: 1) apply one texture from the library in the Diffuse Overlay Weight channel (I don't know if it's called "channel" or not, but I guess everyone can understand...

View Article

Simple Pose change and render script help

Hello.  Need a simple script that does the next: 1) sets pose 1 2) updates render file name 3) renders then sets pose 2, updates name, renders, and so on  

View Article

Fit To Script?

Can someone post a code snippet of fitting a piece of clothing to a character, using script? Thanks.

View Article


Image may be NSFW.
Clik here to view.

List Views?

Is there example script code showing how to populate a list view with nodes? I would like to re-create this partcular list view.  It lists a hierarchy of nodes with checkmarks by them.  And there is no...

View Article

Undo and Duplicate bug?

Why aren't duplicated items added to Undo? Even when called from the main menu, Edit -> Duplicate -> Duplicate Node Hierarchies, duplicate items are not added to Undo. (function() {  var...

View Article


Using AI to develop DAZ Script

Hi all, Because I haven't seen any mention, I thought I'd share my experiences. I've had excellent results with Clause Sonnet 3.5 as well as ChatGPT 4o (which is still supposed to be better at code...

View Article

version of Genesis character

How can I distinguish which version of Genesis character is selected using script? I mean mainly, G3, G8, G9.

View Article


A simple script to utilize the viewport preview to dramatically redcue...

I recently got a RTX 3090 as a companion to my RTX 2080.  Render times are certainly blazing fast for static images.  However for animations or image sequences render times overall weren’t that much...

View Article

Limits On (Rotation) via script?

Hi! Is there a way to activate the rotation limits of the figure with a script? Similar to “Parameters-Limits-Limits On (Rotation)”? So far I'm able to use ".setIsClamped( true );" to activate them on...

View Article

How to move a node along its axis?

Hi! How to change the local position of the node like if it were a user dragging the node in the veiwport window using a gizmo? In other words, how do I move it taking into account the node's rotation?...

View Article
Browsing all 1036 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>