export_results#
- MotorCAD.export_results(solution_type, file_path)#
Export results from a solution to a CSV file.
- Parameters:
- solution_type
str
Type of the solution. Options are
'SteadyState'
,'Transient'
,'EMagnetic'
, and'Lab'
.- file_path
str
Absolute filepath for the CSV file. The default is the Windows directory on the C: drive. The filepath must include the name of the file, with a CSV extension. Use the
r'filepath'
syntax to force Python to ignore special characters.
- solution_type