Std CloseAllWindows/it: Difference between revisions

From FreeCAD Documentation
No edit summary
(Replaced content with "==Utilizzo==")
Line 22: Line 22:
The '''Std CloseAllWindows''' command closes all documents.
The '''Std CloseAllWindows''' command closes all documents.


==Utilizzo==
<div class="mw-translate-fuzzy">
Se nel progetto ci sono dei documenti non salvati, o modificati, visualizza un messaggio e chiede se si desidera salvarli:
[[Image:UnsavedDocument.png]]

In caso di risposta affermativa,
* se il documento è già stato salvato, usa il nome e l'indirizzo impostati,
* se il documento non è mai stato salvato, apre la finestra per definire il percorso e assegnare un nome al documento:
[[Image:FileSaveAs.png]]
{{clear}}


Il comando {{KEY|Chiudi}} invece chiude solo il documento attivo e permette di continuare a lavorare su altri documenti del progetto.
{{clear}}
</div>


# Select the {{MenuCommand|File → Close All}} option from the menu.
# Select the {{MenuCommand|File → Close All}} option from the menu.

Revision as of 21:03, 17 April 2020

Chiudi tutto

Posizione nel menu
File → Chiudi tutto
Ambiente
Tutti
Avvio veloce
Nessuno
Introdotto nella versione
-
Vedere anche
Chiudi

Descrizione

The Std CloseAllWindows command closes all documents.

Utilizzo

  1. Select the File → Close All option from the menu.
  2. If there are unsaved documents a dialog box will prompt you to save them:
    • Press the Save button to save the active document. If required enter a filename first.
    • Press the Discard button to discard the active document and lose all changes.

Options

  • If there are multiple unsaved documents: check the Apply answer to all checkbox to avoid being prompted for each unsaved document separately.
  • If there are unsaved documents: press Esc or the Cancel button to abort the command.

Preferences

  • The last used file location is stored: Tools → Edit parameters... → BaseApp → Preferences → General → FileOpenSavePath.

Scripting

See also: FreeCAD Scripting Basics.

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