Skip navigation
jerome.f.2mn
Currently Being Moderated

How to activate Time Remapping ? (CS5)

Feb 8, 2012 7:56 AM

Tags: #time-remapping

Hi.

 

I try to activate time remapping on a Layer, without success.

 

I tried AEGP_SetLayerFlag without.

I tried the Do_Command hint from here http://forums.adobe.com/message/1799231#1799231 nothing worked.

 

Here's my portion of code :

 

    ERR(suites.FootageSuite5()->AEGP_NewFootage(S_my_id,ANIM_pathZ, NULL,&options, AEGP_InterpretationStyle_NO_DIALOG_GUESS, NULL, &ANIMH));

    ERR(suites.FootageSuite5()->AEGP_AddFootageToProject(ANIMH, AnimationfolderH, &ANIM_itemH));   

 

    AEGP_LayerH       ANIM_layerH    = NULL;

    A_Boolean            is_add_validB        = FALSE;

    ERR(suites.LayerSuite5()->AEGP_IsAddLayerValid(ANIM_itemH, AnimationcompH, &is_add_validB));

    if (is_add_validB)

    {

        ERR(suites.LayerSuite5()->AEGP_AddLayer(ANIM_itemH, AnimationcompH, &ANIM_layerH));

 

        ERR(suites.LayerSuite7()->AEGP_SetLayerFlag(ANIM_layerH,AEGP_LayerFla g_TIME_REMAPPING,true));

        ERR(suites.CommandSuite1()->AEGP_DoCommand(2153));

 
Replies
  • Currently Being Moderated
    Feb 9, 2012 2:07 AM   in reply to jerome.f.2mn

    i don't know why the AEGPDoCommand fails to deliver for you.

    you can however use AEGP_ExecuteScript() and use java from within your plug-in to enable the time remapping.

    here is a thread that shows the complete process of using AEGP_ExecuteScript:

    http://forums.adobe.com/message/3625857#3625857%233625857

    it actually goes into more trouble than you need.

    a simple AEGP_ExecuteScript("simplest java code to enable time remapping") will do the trick.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points