Std CloseActiveWindow/it

Descrizione
The Std CloseActiveWindow command closes the active document.

Utilizzo

 * 1) There are several ways to invoke the command:
 * 2) * Select the option from the menu.
 * 3) * Use the keyboard shortcut: +.
 * 4) If the active document has not been saved a dialog box will prompt you to save it:
 * 5) * Press the button to save the document. If required enter a filename first.
 * 6) * Press the button to discard the document and lose all changes.

Opzioni

 * If the active document has not been saved: press or the  button to abort the command.

Note

 * A document can also be closed by right-clicking it in the Tree view and selecting from the context menu.

Preferenze

 * The last used file location is stored:.

Script
Script di base per FreeCAD

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