Python OBJ Sequence Export: Looping through Animation

Photo of Rick Barrett

Instructor Rick Barrett

Share this video
  • Duration: 12:46
  • Views: 2391
  • Made with Release: 15
  • Works with Release: 13 and greater

Python For & Xrange, Project Animation Settings, SetTime & DrawViews

Sequenced OBJ files can be used in a variety of workflows, including After Effects plugins like Trapcode Form or Element 3D. This tutorial series offers a script that can be used to export an OBJ sequence, and provides explanation for how the script is created in CINEMA 4D’s Python API. If you just want the script, you can download it from the Files link on the next tutorial (login required).

In this tutorial, you’ll learn how to display the system Save dialog, get the FPS and frame ranges for a project, and utilize a for statement to loop through animation frames. You’ll learn the trick to refreshing animation using DrawViews after changing the document time.

Less...