Std Save: Difference between revisions

From FreeCAD Documentation
No edit summary
(Marked this version for translation)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>
<!--T:12-->
{{Docnav
{{Docnav
|[[Std_CloseAll|Std CloseAllWindows]]
|[[Std_CloseAll|Std CloseAllWindows]]
Line 19: Line 20:
}}
}}


==Description==
==Description== <!--T:13-->


<!--T:14-->
The '''Std Save''' command saves the active document.
The '''Std Save''' command saves the active document.


==Usage==
==Usage== <!--T:15-->


<!--T:16-->
# There are several ways to invoke the command:
# There are several ways to invoke the command:
#* Press the {{Button|[[Image:Std_Save.svg|16px]] [[Std_Save|Std Save]]}} button.
#* Press the {{Button|[[Image:Std_Save.svg|16px]] [[Std_Save|Std Save]]}} button.
Line 31: Line 34:
# 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:17-->


<!--T:18-->
* 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.


==Preferences==
==Preferences== <!--T:19-->


<!--T:20-->
* 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:21-->


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


<!--T:23-->
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]].


<!--T:24-->
{{Docnav
{{Docnav
|[[Std_CloseAll|Std CloseAllWindows]]
|[[Std_CloseAll|Std CloseAllWindows]]

Revision as of 21:34, 23 March 2020

Std Save

Menu location
File → Save
Workbenches
All
Default shortcut
Ctrl+S
Introduced in version
-
See also
Std SaveAs, Std SaveCopy, Std SaveAll

Description

The Std Save command saves the active document.

Usage

  1. There are several ways to invoke the command:
    • Press the Std Save button.
    • Select the File → Save option from the menu.
    • Use the keyboard shortcut: Ctrl+S.
  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.