Digital Art Zone

 
   
1 of 2
1
DAZ Studio 4.x Scripting Documentation
Posted: 23 May 2012 10:44 AM   [ Ignore ]
Administrator
Avatar
RankRank
Total Posts:  312
Joined  2003-10-09

As we seem to have many questions relating to the current state and availability of what has been previously known as the Scripting Kit, for DAZ Studio, I wanted to post a link to the Scripting section of the Documentation Center. This is where the scripting documentation for DAZ Studio 4.x will live and evolve.

Yes, at the moment, it is incomplete… this will change over time (most of which is my own - so please understand that I have a “RealLife™” to tend to as well). I have made frequent changes to this area of the DAZ Studio 4.x Reference Guide, and I will continue to do so. There are already quite a number of heavily commented Samples to begin dissecting, and I am currently working on solutions to populate the rest of the API Reference.

For those of you who have been anxious to have access to the Script IDE pane within DAZ Studio again, you’ll be happy to know that it is now part of the standard distribution footprint for the application itself and is included with DAZ Studio 4.5 Pro.

Thank you for your patience and understanding.

-Rob

 Signature 

- Documentation Center
- Install Manager
- DAZ Studio 4.x
- DSON Importer
- DSON File Format Specification

Profile
 
 
Posted: 23 May 2012 11:24 AM   [ Ignore ]   [ # 1 ]
Power Member
Avatar
RankRankRank
Total Posts:  1336
Joined  2006-03-14

Thanks so much Rob.  Definitely missed my Script IDE.

 Signature 

My Tutorials and Freebies Index

Profile
 
 
Posted: 23 May 2012 12:36 PM   [ Ignore ]   [ # 2 ]
Active Member
Avatar
RankRank
Total Posts:  262
Joined  2008-07-07

Thanks Rob, your work on the docs and support in the forum here has been pretty heroic.

 Signature 

DAZ Published Artist

View my DAZ3D product store!

Profile
 
 
Posted: 23 May 2012 03:22 PM   [ Ignore ]   [ # 3 ]
Power Member
Avatar
RankRankRank
Total Posts:  1666
Joined  2012-02-07

Greetings,
Hmm!  Now I’m going to have to download 4.5; I’ve been itching to script DAZ for a while, but it wasn’t clear how…

Unfortunately w/o Reality, I can’t really use it for day-to-day renderings, but I’ll definitely check it out for the scripting.

Thanks!

— Morgan

 Signature 

Want wishlist discount notifications, better wishlist sorting, or to see ALL current discounts? http://3dwishlist.com/demo

Look at my deviantArt Gallery, give me feedback and feel free to follow!

This Firefox GreaseMonkey/Chrome Extension tweaks the wishlist and the product pages, adding cool new features to both and cleaning up small UI issues.

Profile
 
 
Posted: 16 June 2012 07:16 PM   [ Ignore ]   [ # 4 ]
Member
Rank
Total Posts:  121
Joined  2004-10-23

thanks again. Now the development continues.

Profile
 
 
Posted: 20 June 2012 03:26 PM   [ Ignore ]   [ # 5 ]
Member
Rank
Total Posts:  69
Joined  2012-01-22

Hi

I see that most of the links for the scripting reference are broken,  do you guys have a link to the documentation
for the previous version of the script?  I would like to see the scene hierarchy structure and what methods are available for each object

Thank you!

Profile
 
 
Posted: 20 June 2012 04:30 PM   [ Ignore ]   [ # 6 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  13610
Joined  2003-10-09

The links aren’t broken, the object references simply haven’t yet been added. The old DS3 docs are here http://www.daz3d.com/shop/daz-studio-3-script-development-kit - note that because it also installs a plugin, the editor pane, you wil need to have a path to DAZ Studio 3 in your dzinstall.ini file - either by editing or by having installed DS3.

 Signature 

DAZ Studio Frequently Asked Questions

Index of free DAZ Studio scripts and plugins list

Profile
 
 
Posted: 20 June 2012 05:17 PM   [ Ignore ]   [ # 7 ]
Member
Rank
Total Posts:  69
Joined  2012-01-22

Thanks Richard!

Weeks ago I tried to install it but could not because it requested the DS3 installation which I dont have!  but I will try editing the file manually

Do you know what percentage is the old Scripting API the same as the one of 4.5 ?

By the way,  is the API the same for the SDK and the scripting?

Another question,  is DS3 available for download?

Thanks!

Profile
 
 
Posted: 21 June 2012 07:17 AM   [ Ignore ]   [ # 8 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  13610
Joined  2003-10-09

I’m not sure as a percentage - a lot of the functions are stil there, though some objects have been split to allow for weight-mapping (in DS3, DzSkeleton is the figure type, except for dynamic clothing, but in DS 4 it is a container class with legacy figures being DzPoserFigure and TriAx figure DzFigure as I recall) so you should be more careful to use inherits( objectName ) instead of isA( objectName ), for example.


The SDK is different from the scripting kit - some classes are the same as script objects, but others are different or even missing (scripts have several abstractions for things that seem to need building from scratch in C++) while other things are available to the SDK but not to scripts.


DS3 was available through a forum post on the old forum, but I don’t believe that works any more following the switch.

 Signature 

DAZ Studio Frequently Asked Questions

Index of free DAZ Studio scripts and plugins list

Profile
 
 
Posted: 21 June 2012 01:52 PM   [ Ignore ]   [ # 9 ]
Member
Rank
Total Posts:  69
Joined  2012-01-22

Thanks for the info, appreciated!

I m really impressed of how many projects DAZ is handling at the same time,
also the engineering level behind the software is quite good!,

Profile
 
 
Posted: 01 July 2012 09:28 AM   [ Ignore ]   [ # 10 ]
New Member
Total Posts:  14
Joined  2010-01-18
Richard Haseltine - 20 June 2012 04:30 PM

... you wil need to have a path to DAZ Studio 3 in your dzinstall.ini file - either by editing or by having installed DS3.

This was very helpful, with a bit of flailing I’ve been able to install and access the old docs.  And it’s like you just turned on the lights in a dark room!


It was not easy to install, though.  The d/l links for DS3 - all the ones that I could find - are broken.  I had an old 32-bit DS3, so I installed that.  The DS3 SDK still refused - “install path not found”.  After a number of trials, I found that what I needed was an entry like this:


dzStudio3InstallDir-64=C:\Program Files (x86)\DAZ 3D\DAZStudio3


in the copy of dzinstall.ini in my C:\Program Files (x86)\Common Files\DAZ directory; the -64 was essential, even though actually being 64-bit software was not; and so was finding the right one of three copies of dzInstall.ini found in three different locations.


To find out how restrictive this is, I tried again on a different machine without installing DS3.  When I created a dummy directory, C:\Dummy\DAZStudio3 and added a dummy file DAZStudio.exe, and edited the copy of dzInstall.ini in the same location as noted above, it was enough to complete the install of the old SDK. 

 

Profile
 
 
Posted: 17 August 2012 05:04 PM   [ Ignore ]   [ # 11 ]
New Member
Avatar
Total Posts:  3
Joined  2006-07-20

So 4.5 is officially out now. Congrats.
What’s the status with the scripting. I have many old ones to update.

Profile
 
 
Posted: 22 August 2012 09:01 AM   [ Ignore ]   [ # 12 ]
Administrator
Avatar
RankRank
Total Posts:  312
Joined  2003-10-09

My original post is as true today as the day I posted it.  I have made some ground on producing content for the Object Index portion of the API Reference, but I haven’‘t posted the pages because they don’t include descriptions yet.  With all of the work involved in getting 4.5 released, I’ve had no time in the last few weeks to work on it - I’m hoping to find some this weekend.

-Rob

 Signature 

- Documentation Center
- Install Manager
- DAZ Studio 4.x
- DSON Importer
- DSON File Format Specification

Profile
 
 
Posted: 02 October 2012 08:50 PM   [ Ignore ]   [ # 13 ]
Administrator
Avatar
RankRank
Total Posts:  312
Joined  2003-10-09

It was decided a while back that we would phase out our DAZ Studio 3 offerings in the store - i.e. DS3 hasn’t been in the store for quite a while, the DS3 SDK hasn’t been available for a few weeks now and the DS3 Script Development Kit is about to follow any day. I still haven’t had the time I’ve wanted/needed to get the DS4 script API documentation in a state that it makes sense to post (I’m still working on it, on my own time, but it simply isn’t ready), so I’ve posted the documentation and samples from the DS3 Script Development Kit on the DAZ Studio 3 page of the Documentation Center - since a significant portion of it is still applicable, if not very much the same. A DAZ Script API link on the page points to a simple zip archive with the appropriate folder/file structure to be dropped into the installed application path (e.g. there is no installer - OSX users should be careful to merge and not replace).

-Rob

 Signature 

- Documentation Center
- Install Manager
- DAZ Studio 4.x
- DSON Importer
- DSON File Format Specification

Profile
 
 
Posted: 03 October 2012 08:12 AM   [ Ignore ]   [ # 14 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  13610
Joined  2003-10-09

Thanks Rob.

 Signature 

DAZ Studio Frequently Asked Questions

Index of free DAZ Studio scripts and plugins list

Profile
 
 
Posted: 17 December 2012 11:04 AM   [ Ignore ]   [ # 15 ]
Member
Avatar
Rank
Total Posts:  51
Joined  2007-10-22

Just for the record—I’ve been a technical writer and a software tester at various times in my life—

Profile
 
 
   
1 of 2
1