Community
Maya Programming
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Scrubbing the timeline on/off

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
dg3duy
262 Views, 4 Replies

Scrubbing the timeline on/off

I am an animator and I am not used to use the keyboard shortcut to scrubbing the timeline.
I am looking for a keyboard shortcut to activate or deactivate setToolTo TimeDragger, click once to activate it and click again to deactivate it.
Thank you very much.

4 REPLIES 4
Message 2 of 5
Christoph_Schaedl
in reply to: dg3duy

There is only the k shortcut to scrub.

----------------------------------------------------------------
https://linktr.ee/cg_oglu
Message 3 of 5
dg3duy
in reply to: Christoph_Schaedl

something similar to this I'm looking for, but only change scrubb on and off, not change the way you see your options on the screen.
keys.gif

{
string $focus = `getPanel -withFocus`;
if ( `getPanel -to $focus` == "modelPanel") {
	string $mode = `modelEditor -q -displayAppearance $focus`; 
if ( $mode != "smoothShaded" ) {
    modelEditor -e -displayAppearance "smoothShaded" $focus;
                    storeLastAction( "restoreLastContext " + `currentCtx` );setToolTo TimeDragger; 

	}
else {
        SelectToolOptionsMarkingMenu;

    modelEditor -e -displayAppearance "wireframe" $focus;
    SelectToolOptionsMarkingMenuPopDown;
MarkingMenuPopDown;

     }
   }
}

 

Message 4 of 5
dg3duy
in reply to: dg3duy

global int $x;

if ($x % 2)

setToolTo TimeDragger;

else

invokeLastAction;

$x++;

here is the solution!

 

Message 5 of 5
dg3duy
in reply to: Christoph_Schaedl

here is the solution.

global int $x;

if ($x % 2)

setToolTo TimeDragger;

else

invokeLastAction;

$x++;

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report