FORUMS: list search recent posts

Automating the Frame Range

COW Forums : Autodesk Maya

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
S. Marcotte
Automating the Frame Range
on Feb 7, 2012 at 6:43:34 pm

Is there a MEL script that will automatically set the Frame Range in the render globals to match the Time Slider, or is that taking laziness to a new low?

SM


Return to posts index

S. Marcotte
Re: Automating the Frame Range
on Feb 7, 2012 at 9:41:10 pm

Got it:

$minTime = `playbackOptions -q -minTime`;
setAttr "defaultRenderGlobals.startFrame" $minTime;
int $maxTime = `playbackOptions -q -maxTime`;
setAttr "defaultRenderGlobals.endFrame" $maxTime;


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]