API reference#
Motor-CAD API#
The MotorCAD
object is used by default for PyMotorCAD scripting.
For descriptions of this object’s single class and its many methods,
see MotorCAD API.
Motor-CAD compatibility API#
The MotorCADCompatibility
object is used for running old ActiveX
scripts. For information on backwards compatibility, see
Backwards compatibility with old scripts. For descriptions of this
object, its single class, and its many methods, see
MotorCADCompatibility API.
Note
In addition to giving the available methods, their replacement functions have been commented.
Geometry objects and functions#
The ansys.motorcad.core.geometry
library contains geometry objects and functions
that provide geometry capability in Python.
Geometry objects and functions are used for
defining and modifying Adaptive Templates geometries in Python.
For descriptions of the objects and functions, see Geometry objects and functions.
Geometry shapes#
The ansys.motorcad.core.geometry_shapes
library contains geometry functions
that provide geometry calculations in Python.
Geometry shapes functions are used for
defining and modifying Adaptive Templates geometries in Python.
For descriptions of the functions, see Geometry shapes.