Digital Art Zone

 
     
DazScript interaction with Animate2?
Posted: 02 May 2013 05:09 PM   [ Ignore ]
Member
Rank
Total Posts:  27
Joined  2010-09-22

Is it possible to interact with Animate2 from DazScript?  I don’t see any Animate2 classes exposed in the DazScript API.

I was hoping to at least be able to have a script write keys to the currently selected and active Aniblock, but any keys my script adds/changes just get written to standard Daz Studio keys. 

Is there any way to have a script add/modify/delete keys in an AniBlock?

Thanks!

Profile
 
 
Posted: 03 May 2013 05:16 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  15775
Joined  2003-10-09

I don’t know, but you could try something like

// Get the Pane Manager
 
var paneMgr MainWindow.getPaneMgr();
 
// if successful, get the AniMate pane
 
if ( paneMgr {
  
var pane paneMgr.findPaneguess the name of the AniMate pane );
  
// if successful, get the methods
  
if ( pane {
   
for ( var item in pane {
    
print ( item.name );
   
}
  }
 } 
 Signature 

DAZ Studio Frequently Asked Questions

Index of free DAZ Studio scripts and plugins list

Profile