Std CloseAllWindows

Description
The Std CloseAllWindows command closes all documents.

Usage

 * 1) Select the  option from the menu.
 * 2) If there are unsaved documents a dialog box will prompt you to save them:
 * 3) * Press the button to save the active document. If required enter a filename first.
 * 4) * Press the button to discard the active document and lose all changes.

Options

 * If there are multiple unsaved documents: check the checkbox to avoid being prompted for each unsaved document separately.
 * If there are unsaved documents: press or the  button to abort the command.

Preferences

 * The last used file location is stored:.

Scripting
FreeCAD Scripting Basics.

To close a document use the method of the FreeCAD application. For a scripting example see Std New.