save_screen_to_file#

MotorCAD.save_screen_to_file(screen_name, file_name)#

Save the image from a Motor-CAD tab to an image file.

This method is only available for select tabs (such as Geometry Radial and Axial tabs).

Parameters:
screen_namestr

Name of the screen with the image to save. The name must be in this format: "tabName". For example, "Axial".

file_namestr or pathlib.Path

Full path for the image file, including the file name and file extension. The extensions supported are BMP, JPG, and PNG.