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
'EMagnetic'
(E-Magnetic Solution),'Lab'
(Lab Operating Point Solution),'SteadyState'
(Steady State Thermal Solution), and'Transient'
(Transient Thermal Solution).- file_path
str
Absolute path for the CSV file. The default is the Windows directory on the C: drive. The file path 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