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

How to do basic scene composition using scripts?

I'm an experienced programmer trying to wrap my head around Daz Studio scripting. I'm looking for examples on how to do basic operations to compose and render a scene. Things like: - Loading objects...

View Article


What is the proper way to load an expression on a character?

I'm really struggling to understand how to [load an expression on a character] do this. I can't really seem to find any good examples on how to do anything in DAZ Studio scripting. I made this (fairly...

View Article


select an asset in content pane

Hello, I have a little problem. I can't select the asset in the content pane here is my code var oPaneMgr = MainWindow.getPaneMgr();   var oPane = oPaneMgr.findPane("DzContentLibraryPane");     var...

View Article

How to refresh images from the script?

Hello; I have a script which updates cutout/displacement images for the next frame. This is intended for image series render post script. The scene has lots of items that can use those images. The...

View Article

Create IK Chain

How can I create a new IK chain via scripting? I have dug through the docs and can't find anything related. If I can't do it directly can I force the menu options for "Create IK Chain" ?  

View Article


Why are these object properties not available through scripting?

In the UI I see these properties but I can't access them in scripting (using `node.getObject().findModifier("Shorten-FlyHair-SideL")`. I _can_ access other properties on this object. For instance,...

View Article

Edit an image - external libraries

I'm wanting to edit an image via Daz script. Specifically, I'm looking to alpha clamp, and crop to visible pixels. Due to the alpha value bug in Daz's version of Qt, I don't think I can extract the...

View Article

Daz Studio crashes when loading hair color

Daz Studio crashes when I try to load certain assets, such as a hair color (but it also readily crashes on other types of assets). For example hair colors of "OOT MEGA Updo 2 Hair". I've tried...

View Article


How to terminate a running script?

I'm looking at ways to terminate running scripts. Usually there is some keys you can press to terminate a running script (typically ctrl+c) but that doesn't work in Daz. You can build in error triggers...

View Article


Is there documentation for DzEnvironmentNode?

I was looking at setting the "Environment Map" for a Scene, which to my surprise was not part of the render settings, but part of the "Environment Settings" node, which I found out is a...

View Article

Drag and Drop via Script?

I've created a ListView and filled it with ListViewItems which have the properties 'dragEnabled' and 'dropEnabled'. But I can't find any signal or method to start and handle a drag-and-drop-gesture. Is...

View Article

Silencing Interactive Messages while Running a Script

I'm trying to silence messages that call for interaction from the user while my script is running. The script is supposed to run unattended, so I can't have it stopping to ask the user a question if it...

View Article

Shaping

How can we shape arms, legs, abs, back? Like how can we give muscles definations to our figures?  

View Article


How to add "Genesis" figure automatically via script to the scene

Hello! This is probably a very basic question, but I couldn't find any sample on the official documentation regarding this - I want to automatize the process of: Adding a Genesis figure to the scene;...

View Article

Set material from a .duf shader file

Good afternoon all. I am working on a script to set MDL materials with an popup window, it also has the option to set the materials for all the children parented to the node. At the moment I am...

View Article


Setting the default Hip translation

I have a character that has a non-zero value for hip Y Translation when Edit -> Figure -> Zero -> Zero Figure Pose is used. This creates issues later when exporting the figure as an fbx. I've...

View Article

How to select face groups or facets programatically?

What I really want is to be able to select certain face groups (ie from Geometry Editor) and do some voodoo magic with them. The closest thing I saw was the DzSelectionMap and tried setting the node's...

View Article


Pose preset sample does not save an animation

I need to save a pose preset in silent mode. The pose I need to save is animated. I tried to use this sample, but I changed the bCurrentFrame from setAnimationOptions function to false, to let the...

View Article

Image may be NSFW.
Clik here to view.

Translate with Viewport Gizmo

Is there a script endpoint to manipulate a node in the same manner as possible with the gizmo in the viewport?

View Article

Need help - .obj sequence export script

Hi, I found this script - it runs without errors (in script IDE) but it wont export anything. Can anybody help ?  Thank you const oEXPORT_MANAGER = App.getExportMgr(); const oOBJECT_EXPORTER =...

View Article
Browsing all 1036 articles
Browse latest View live


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