Downgrading Maya Scenes

In the current Western X pipeline, some steps are being performed with different versions of Maya for various reasons. Unfortunately, the version number does not always move up as scenes move from step to step, so sometimes we must downgrade while retaining as much information as possible.

The downgrade_to_2011() function is being developed as needs see fit to downgrade ASCII scene files to Maya 2011.

mayatools.downgrade.downgrade_to_2011(src_path, dst_path)[source]

Downgrade the given Maya ASCII scene to version 2011.

Parameters:
  • src_path (str) – The scene >2011 to downgrade.
  • dst_path (str) – Where to write the 2011 version.

Currently handles:

  • cameras
  • image planes
  • meshes (roughly)