DazScript interaction with Animate2?

shoei321shoei321 Posts: 113
edited December 1969 in Daz Script Developer Discussion

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!

Comments

  • Richard HaseltineRichard Haseltine Posts: 100,941
    edited December 1969

    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.findPane( guess the name of the AniMate pane );
      // if successful, get the methods
      if ( pane ) {
       for ( var item in pane ) {
        print ( item.name );
       }
      }
     }
Sign In or Register to comment.