Std Save/en: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav
{{Docnav
|[[Std_CloseAllWindows|Std CloseAllWindows]]
|[[Std_CloseAllWindows|CloseAllWindows]]
|[[Std_SaveAs|Std SaveAs]]
|[[Std_SaveAs|SaveAs]]
|[[Std_File_Menu|Std File Menu]]
|[[Std_File_Menu|Std File Menu]]
|IconL=
|IconL=Std_CloseAllWindows.svg
|IconR=Std_SaveAs.svg
|IconR=Std_SaveAs.svg
|IconC=Freecad.svg
|IconC=Freecad.svg
Line 24: Line 25:


# 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|Save]]}} button.
#* Select the {{MenuCommand|File → [[Image:Std_Save.svg|16px]] Save}} option from the menu.
#* Select the {{MenuCommand|File → [[Image:Std_Save.svg|16px]] Save}} option from the menu.
#* Use the keyboard shortcut: {{KEY|Ctrl}}+{{KEY|S}}.
#* Use the keyboard shortcut: {{KEY|Ctrl}}+{{KEY|S}}.
Line 36: Line 37:


* This command can also be used to save dependency graphs. See [[Std_DependencyGraph|Std DependencyGraph]].
* This command can also be used to save dependency graphs. See [[Std_DependencyGraph|Std DependencyGraph]].

==Preferences==

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


==Scripting==
==Scripting==
Line 46: Line 43:


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]].



{{Docnav
{{Docnav
|[[Std_CloseAllWindows|Std CloseAllWindows]]
|[[Std_CloseAllWindows|CloseAllWindows]]
|[[Std_SaveAs|Std SaveAs]]
|[[Std_SaveAs|SaveAs]]
|[[Std_File_Menu|Std File Menu]]
|[[Std_File_Menu|Std File Menu]]
|IconL=
|IconL=Std_CloseAllWindows.svg
|IconR=Std_SaveAs.svg
|IconR=Std_SaveAs.svg
|IconC=Freecad.svg
|IconC=Freecad.svg
}}
}}


{{Std Base navi{{#translation:}}}}
{{Std_Base_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Latest revision as of 11:52, 21 April 2024

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 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.

Notes

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.