Difference between revisions of "ChangeRenderFrameRange Script"

From The Foundry MODO SDK wiki
Jump to: navigation, search
(More Information)
(More Information)
Line 179: Line 179:
 
* [[:Category: Script Examples]]
 
* [[:Category: Script Examples]]
  
[[Category: Render Controller Helper Scripts]
+
[[Category: Render Controller Helper Scripts]]

Revision as of 22:50, 1 April 2012

This simple script changes the first frame, last frame and frame step of the first render item in the scene. This is a bit easier than calling three separate item.channel commands and making sure that the first render item is actually selected.

TabbedArea

The first and last frame arguments are required, while the frame step is optional. This sets the first frame to 1 and the last frame to 60.

TabbedArea

This script could be simplified by directly selecting the render items with Select.itemType, but this extended version can be used as a framework for other scripts that operate on item types.

TabbedArea

More Information