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

World 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 Article


Capturing the render and Simulate actions

I'm just wondering if its possible with a simple script to listen for someone starting the render or a simulation. Or would I need the SDK and create a plugin for it? What I want to make is a very...

View Article


Display drivers PSD (Photoshop)

I can understand how to write the output of a render to a PSD file with all its channels, but the 3delight manual information is very poor about how to write different layers (with their respective...

View Article

GF3 pose usage with GF8 correction script help

Hello everyone, first, I'm completely new to Daz scripting, and I wanted to fix a nagging issue I had with older GF3 pose presets I was using with GF8 models, the shoulder and thigh bends needed...

View Article

Adding vertices will make existing morphs no longer work?

Hello everyone,  I found that if I edit a geometry via daz script, even just adding a single vertex makes all morphs of that geometry no longer work. If I pre-set these morphs to 100%, after running...

View Article


Writing a little script to open a PDF file?

Hey guys, I am looking for a little script that will open up a PDF user-guide when clicked on. The purpose is simple: Rather than having the user search the support folder for my PDF manuals, I would...

View Article

Looking for scripting help with Combo Boxes

Hello- I am looking for a way to populate a combo box with a list of figures (G8M, G8F, etc).  What container is this part of? Once that item is selected, I would like to populate the tree of nodes...

View Article

How to set Parameter's Type to "Modifier/Shape" in code?

Hello, I wrote a script that automatically creates Parameters for a selected in a Scene character. But I can not find an API function that is used to setup property's Type. I need to set it to...

View Article


Reconciling Different Prop Rotation Axes In Poser And DAZ Studio

(Note: I'm trying to do this for DS3-4+ and Poser6-10+) I've got a manual procedure (with a couple of scripts to assist) for positioning a hand-held prop in a proxy-hand at the world origin. The...

View Article


How to simulate clicking on "Top" of camera cube?

I'd like to implement in DazScript what happens when you click on "Top" of a camera cube. The camera points down, but maintains other angles. I tried fiddling w/ Euler angle & quaternions but...

View Article

What's the best way to learn Daz Scripting?

Ok, so from what I can gather, Daz Script 2 is an extension of QtScript, which is an extension of ECMAScript, which is a standardized form of JavaScript. So would I be better off learning JavaScript...

View Article

QtDesigner and a ListBox

Hi all :) Has anybody been able to create a ListBox on a UI made with QtDesigner? It seems the QtDesigner bundled with Daz3D 4.12 can make a ListView or a ListWidget, but not a ListBox. This sort of...

View Article

Post Process Script to call a powershell or batch script with parameter(s)...

As the title says. Is there a knowledge or documentation for [a Post Process Script to call a powershell or batch script with parameter(s) during image series] doing this? During image series render,...

View Article


Create ToolBar from directory

In another thread someone was looking for a script that would add all scripts in a directory to a toolbar as custom actions. It was an interesting idea and I had a few minutes, but the request was off...

View Article

Script to save and then restore user render settings

What is the best way to have a script do the following: 1. Memorize the user's current render settings. 2. Do something cool, that involves the script first changing a dozen render settings. (I know...

View Article


RegExp and backslash

I'm trying to replace in a string any backslash (\) with a normal slash(/). The string .replace method requires a RegExp as parameter. My current code is the following: var regexBackslash = new...

View Article

Script to toggle "Visible in Viewport" for all lights/cameras?

From DAZ Studio 4.11.0.36 (2017) and higher there is an on/off setting in Parameters called "Visible in Viewport". This removes the wireframe of a light and a light's ray-indicators in the Viewport,...

View Article


Something like HashSet?

In my script I have to work with a lot string values (thousands) and each time need to make sure the current value doesn't exist already before adding it. Is there an alternative to array? Something...

View Article

Need to save additional data with new DzProperty

I need to store certain string data along with a newly created (standard) DzFloatProperty, I looked into getAttributes / setAttributes, but although I can read the default attributes, if I add more...

View Article

Adding New Properties via Scripting

I am looking for a way to add properties to a figure part node via script. For example, in the Property Hierarchy: https://imgur.com/a/vofEy89 For the Right Foot, I would create new properties that...

View Article
Browsing all 1036 articles
Browse latest View live


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