save_screen_to_file#

MotorCAD.save_screen_to_file(screen_name, file_name)#

Save a screen to an image file.

Parameters:
screen_namestr

Name of the screen.

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.