Q100091: Rendering multiple frames in Katana GUI mode

SUMMARY

This article describes how to render multiple frames in Katana via Python.

MORE INFORMATION

Rendering multiple frames within the Katana UI is not currently supported and the recommended workflow for this is rendering in batch mode. Within a batch render command you can use the '-t' argument to specify the frame range for your project render.

That being said, it is currently possible to trigger a render within the Katana UI via Python. This can be done using the following example on an existing project or using the KatanaFile.Load(yourKatanaScene) command to load the project as part of the Python execution:

The StartRender command only supports rendering one frame at a time, however, you can render multiple frames by iterating through your frame range and executing new StartRender commands each time. This allows you to render the full desired frame range in UI mode.

NOTE: If you are looking to modify the Katana project before launching your render in 'batch' mode, then you can use the above information to create a Python script that you would launch Katana with, via 'script' mode.

FURTHER READING

To render multiple frames outside of the GUI or via a render farm, you can use the Katana batch mode. More information and example commands are included in the Katana Online Help under the Command-line Interface > Batch Mode section.