Much of DAZ Studio's SDK is accessible to scripting through the Qt Signals and Slots mechanism. What this means for script authors is that any class in the DAZ Studio SDK that inherits from QObject can be accessed by DAZ Script. The only limitation is that scripts can only access Public Signals, Slots, Attributes and Types of QObject subclasses (this is why so many of the methods on classes in the DAZ Studio SDK are declared as Slots - so that they will be accessable to script authors).
The objects listed below are available to all DAZ Scripts in the global namespace and correspond to their counterparts in the DAZ Studio SDK:
App
is the global object that allows scripts to access the DzApp object that is central to the DAZ Studio SDK.
Scene
is the global object that allows scripts to access the DzScene object that manages all the content that is currently loaded.
MainWindow
is the global object that allows scripts to access the main interface widget, DzMainWindow.
Generated on Thu Sep 24 12:21:07 2009
Copyright © 2002 - 2009 DAZ 3D, Inc.