Std CloseAllWindows

Description
The Std CloseAllWindows command closes all windows, thereby closing 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

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

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.