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

Load product into the scene by sku or description using script

Hello,    I'm trying to load a daz product using the product name or product SKU number.   Any help would be appretiated.  Thanks.

View Article


Iray Canvas creation

Hello, I would like to write a script to create a Light Group canvas for each light present in the scene. Is it possible to do this from the scripting interface? I could not find any documentation...

View Article


Load message when loading PNG

I'm trying to let the user know when a file with a PNG extension is used, it gives a notice about transparent PNGs, how do I give a message box when it loads a PNG? var sPath =...

View Article

Possible to read Morph Rules through DzFbxExporter?

Is it possible to parse the existing morph rules from DzFbxExporter or are they perhaps stored in a file somewhere that could be accessed?

View Article

Adding custom actions to default GUI

Hi, I'm creating a Genesis Assets converter. It's already working right now but I'm working on the best way to integrate it properly into DAZ GUI. For now, I did the basic way : a script that prompts a...

View Article


Retrieve product preview image from DzProductAssetContainer instance

Hi, I'm creating a simple script that would be an alternate "assets explorer", a sort of mix between the "Smart Content" tab and the "Content Library" panel. Basing on the doc example...

View Article

Need some help with LineRender9000, and some modifications...

TL;DR: I'm using Daz Studio to create 2D assets that make use of normal, diffuse and specular maps.  In my current piepline, I have to perform seven different renders on every frame of animation.  I...

View Article

silent saving doesnt save

Hi everyone, I started a little scripting project and ran into a problem. The endgoal is to loop over the frames of the timeline in a scene and save each frame as a posePresetFile in a defined folder....

View Article


Image may be NSFW.
Clik here to view.

how do we read/set the resolution level via script ?

This is to help the diffeomorphic plugin. I tried to look at the api reference in the documenation center but it seems it's mostly incomplete plus my programming days are far away now. We need to...

View Article


Empty morph deltas

var node = Scene.getPrimarySelection(); var obj = node.getObject(); var morph = obj.findModifier("PHMBrowWidth"); var deltas = morph.getDeltas(); print("Num deltas: "+deltas.getNumDeltas ()); If I run...

View Article

How to get height position for a simulated ball falling to ground, in every...

Hello my dear Ladies and Gentlemen, I need your help. I have a ball, simulated to fall to ground using dforce. When I play the simulation, the ball height position (Y translation property) never...

View Article

How to add an image to a surface on an object upon clicking script?

What code would I have to use in order to add a random texture to a surface on an object upon clicking the script's icon?

View Article

Full path of the current script

Hello, I will ask a very simple question but I didn't find a way to get the answer in the documentation, in the old posts or in the samples. I would like to get the full path of the current script. I...

View Article


Image may be NSFW.
Clik here to view.

Accessing environment variables from DAZ Script,& Mac equivalent of %APPDATA% ?

Just started looking at one of my old PoserPython/DA Script thingies, because I now want to start writing to a datafile (previously I only ever read the datafile). Assuming the user had both DAZ Studio...

View Article

How to show full exception stack trace?

When an exception is thrown I only see the last function in the stack trace. How do I get the full trace- see its caller, and its caller, etc...?

View Article


Proxy scripts and Multiple UV Sets

I successfully got the 2 proxy scripts to work with alternate UV Sets...

View Article

Paths to Poser Library content

Never mind, found the answer in the wiki...

View Article


Assign a color to a material property (Solved)

How do I assign a color to a material property?  In this case I am looking to assign Emission Color. I have gotten the property found. var prop2 = mat.findPropertyByLabel( "Emission...

View Article

How to terminate a running script completely

In my script, I render a lot of  images. It stops when I hit  CANCEL on render window,  but a few seconds it starts rendererring another image. How can I terminate this running script completely ? Stop...

View Article

Image may be NSFW.
Clik here to view.

Every Face Groups Into Surface Groups

Hello, I'd like to receive some help as I'm not familiar with DAZ's scripting system and Documentation page is bit complicated to understand I'm trying to make a script that creates Surface Group from...

View Article
Browsing all 1036 articles
Browse latest View live


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