Std SaveAll: Difference between revisions

From FreeCAD Documentation
No edit summary
(Marked this version for translation)
Line 30: Line 30:
# For new documents: enter a filename in the dialog box and press the {{Button|Save}} button.
# For new documents: enter a filename in the dialog box and press the {{Button|Save}} button.


==Options==
==Options== <!--T:10-->


<!--T:11-->
* For new documents: press {{KEY|Esc}} or the {{Button|Cancel}} button to abort the command.
* For new documents: press {{KEY|Esc}} or the {{Button|Cancel}} button to abort the command.


Line 39: Line 40:
* The last used file location is stored: {{MenuCommand|Tools → Edit parameters... → BaseApp → Preferences → General → FileOpenSavePath}}.
* The last used file location is stored: {{MenuCommand|Tools → Edit parameters... → BaseApp → Preferences → General → FileOpenSavePath}}.


==Scripting==
==Scripting== <!--T:12-->


<!--T:13-->
{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].


<!--T:14-->
To save a document use the {{incode|save}} method of the document object. A new document must first be saved with the {{incode|saveAs}} method of the document object. For a scripting example see [[Std_New|Std New]].
To save a document use the {{incode|save}} method of the document object. A new document must first be saved with the {{incode|saveAs}} method of the document object. For a scripting example see [[Std_New|Std New]].



Revision as of 21:35, 23 March 2020

Std SaveAll

Menu location
File → Save All
Workbenches
All
Default shortcut
None
Introduced in version
-
See also
Std Save

Description

The Std SaveAll command saves all open documents.

Usage

  1. Select the File → Save All option from the menu.
  2. For new documents: enter a filename in the dialog box and press the Save button.

Options

  • For new 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 save a document use the save method of the document object. A new document must first be saved with the saveAs method of the document object. For a scripting example see Std New.