export_to_ansys_discovery#

MotorCAD.export_to_ansys_discovery(file_path)#

Export the model to a Python script file that can be run in Ansys Discovery.

Parameters:
file_pathstr

Absolute filepath for the Python script file. The default filepath is the Windows directory on the C: drive. The filepath must include the name of the file. The extension does not need to be specified. Use the r'filepath' syntax to force Python to ignore special characters.