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: 

How can I make a hotkey that sets the minimum frame to the current frame?

1 REPLY 1
Reply
Message 1 of 2
saijee99
316 Views, 1 Reply

How can I make a hotkey that sets the minimum frame to the current frame?

Hello, I noticed while aniamting that very often I like to reframe the range slider so that the minimum frame is set the the current frame selected.

 

I wanted to know if there was an easy code to make that happen so that I could assign that action to a hot key. Thanks for reading!

1 REPLY 1
Message 2 of 2
anveshchary03
in reply to: saijee99

hey saijee99,

 

sets your minimum frame to the current frame....

 

int $currentFrame = `currentTime -q`;
playbackOptions -e -min $currentFrame;

 

 

you can assign this code for any of your hotkeys or use as shelf button.

 

hope this helps....

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

Post to forums  

Autodesk Design & Make Report