screenshot#

Mapdl.screenshot(savefig=None, default_name='mapdl_screenshot')#

Take an MAPDL screenshot and show it in a popup window.

Parameters:
savefigOptional[str], optional

Name of or path to the screenshot file. The default is None.

Returns:
str | None

Returns the file name if savefig is provided. Otherwise, it returns None.

Raises:
FileNotFoundError

If the path given in the savefig parameter is not found or is not consistent.

ValueError

If given a wrong type for the savefig parameter.

Return type:

str | None