Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
import rfm2.utils.scene_updater
rfm2.utils.scene_updater.convert_displays()

 

Exporting RIB

If you need to export a RIB file using a script, you can use the below python script. Note that this export will follow whatever settings you have provided in the Render Settings.

Code Block
import rfm2.render
rfm2.render.frame('"-ribFile /var/tmp/foo.rib"')