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

Question about Save Pose Preset Sample

After trying the sample provided here, it appears to only save the head pose. How do I save the pose for the entire figure? I tried adding "hip" and "abdomen" to aNames, to not effect.

View Article


Select facet by id?

Hello everyone, Assume I already know the ids of some facets, is there a way to select these facets via script, then I could use addSelectedFacetsToMaterialGroup() function to add them into a material...

View Article


Image may be NSFW.
Clik here to view.

I Heart Astrogrep

This is probably something most people already have/use, but I managed to go years without realizing it existed :-P  I've been using Astrogrep for a few months and it's something I have open all day as...

View Article

Script to attach the Base-Color Image Node to the Top-Coat-Color Node

Hello, I'm sorry, I'm a complete beginner concerning scripting and haven't done anything like that before, but now I really need a solution to quickly attach the Base-Color-Image-Node to the...

View Article

[half solved] Is it possible to "connect" widgets "incrementally created"?

I'm making a script which should allow me to change for instance some numeric values on specific nodes properties in a scene via an interface. Since the elements in the scene are never the same, with...

View Article


How to detect that a DzDialog is about to Close?

Hi All, I've been reading this forum for a few years, but this is my first post - so I'll start by saying a big Thank You to all those who have been so generous with their time and knowledge, in...

View Article

Non-Modal scripting is possible, but needs care

There are a couple of other threads on this topic, but they say it cannot be done: http://www.daz3d.com/forums/discussion/65903/any-way-to-allow-scene-to-be-accessed-when-script-is-open/p1...

View Article

DzConnect is unavailable in DAZ Script

Every time I try to subscribe to signal of a button I get "Can't find variable DzConnect" error message. Typeof DzConnect also gives me undefined. So it's basically isn't there and without it there's...

View Article


disconnect widgets? " failed to disconnect"

Hello, I'm trying to disconnect widgets but I don't manage to do so. I probably don't use the right commands. I have tested a few of them, but there must be a mistake. Does anybody see what I'm doing...

View Article


Compiled scripts and older versions of DS...

I just learned from QA that a compiled script only works in DS at the same or higher version than the version in which it was compliled. Is there a reason for that, and is there a way to "fix that"?...

View Article

Add pose .duf file to smart content?

Is it possible, and if so, any example script, to add a pose preset to smart content with Daz Script?

View Article

How to find Preset (.duf) in Smart Content

Is there a way to find out: 1) If a preset file (.duf) is in smart content; and if so: ........2) Information from that asset like: Type and Category? I tried searchForAssets in DzAssetMgr, but it...

View Article

A script to Orbit Camera around a point

This topic seems to come up occasionally, but I couldn't find an existing "Orbit Camera" script, so I've written one (CameraOrbit.dsa) and attached it to this post.  It shows one way to Orbit Camera...

View Article


Typed array in Daz script

I have a javascript library that reads and writes C++ style data in binary format from/to a file. To do that, I use typed arrays (float32array,arraybuffer...). I need to port this library to...

View Article

"ç" and the size of the script (never use a "ç")

Hello, I have an issue with one of my script. I'm using "AppSettings.setStringValue( "path" , FileInf.path() );" in one of my scripts in order to remember some useful path for the user. This command is...

View Article


Image may be NSFW.
Clik here to view.

A script to control a selected Property, with large font size, and Preview...

The font size in the Parameters Pane is too small for comfortable use for me, and the controls for fine-tuning a value are a bit indirect, so I've written this to help me in these particular areas. I...

View Article

How best to structure a large script project?

Hi, To make development of my large project manageable, I've split it into a number of separate files, which I "include()" in my main .dsa file.  (I'm not concerned about any multi-file distribution...

View Article


Adding an Icon to a script

It's surely a silly question, but how can I associate (and distribute) an icon for a script ? I've googled it to no avail.

View Article

DzLine3 object

OK this is driving me a bit nuts at the moment (and probably because I'm missing something very fundamental). I can't use any methods on a DzLine3 object, I just get the "undefined is not a function...

View Article

Differences between Studio 4.6 and 4.9

I have a script that fails to start in Studio 4.6 although it's working very well in 4.8 and 4.9. Has there been any significant change in the scripting part between those version ?

View Article
Browsing all 1036 articles
Browse latest View live