Versions Compared

Key

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

...

Most Python functions have identical return types and arguments as their C++ counterparts. Functions which return boolean values in the C++ API to indicate success or failure raise exceptions instead in Python. The Create* methods from MaxwellMayaAPI are replaced by calling the constructors of the respective types directly. A few methods are changed so that they work in a manner which is better suited to the Python programming practices (e.g., the GetNumLayers and GetLayer methods have been replaced by a single GetLayers method which returns a list of layers in the material). This documentation will describe the methods using the C++ syntax, noting Python differences where they exist.

...