export_plug_animation

export_plug_animation(plugs: list(Plug), filepath: unicode, single_layer: bool, progress, comments: unicode, tags: unicode, first_frame_clip: float, last_frame_clip: float) None

Save the layer setup and plugs animation in a file.

Parameters
  • plugs (list(Plug)) – The plugs with the values or the animation to save

  • filepath (unicode) – The file path, the extension should be “.rumbaanim”

  • single_layer (bool) – Export the animation in a single layer, bake the plugs animation if needed

  • progress – Progress callback

  • comments (unicode) – The commentaries (utf-8)

  • tags (unicode) – The tags, coma separated (utf-8)

  • first_frame_clip (float) – If first_frame_clip<last_frame_clip, export only the [first_frame_clip, last_frame_clip] interval.

Return type

None

Raises

RuntimeError – in case of writing errors.