Congratulations! You are a March Madness BONUS BUYER!

Enjoy 10% OFF* ALL PURCHASES STOREWIDE or enjoy 30% OFF items with a SKU number lower than 16000 & 30% OFF items from Runtime DNA.

Buy 2 or more Newly Mad new release and get an EXTRA 30% OFF Newly Mad releases.

Offer valid for intended recipient only
* 10% discount DOES apply to Gift Cards and Memberships. **Items must be in cart simultaneously for discount to apply.
[ collapse ]

DazScript interaction with Animate2?

shoei321shoei321 Posts: 88
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: 32,471
    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.