Std Save: Difference between revisions

From FreeCAD Documentation
(Added 'Notes'.)
No edit summary
(3 intermediate revisions by 3 users not shown)
Line 3: Line 3:
<!--T:12-->
<!--T:12-->
{{Docnav
{{Docnav
|[[Std_CloseAll|Std CloseAllWindows]]
|[[Std_CloseAllWindows|Std CloseAllWindows]]
|[[Std_SaveAs|Std SaveAs]]
|[[Std_SaveAs|Std SaveAs]]
|[[Std_File_Menu|Std File Menu]]
|[[Std_File_Menu|Std File Menu]]
Line 17: Line 17:
|Workbenches=All
|Workbenches=All
|Shortcut={{KEY|Ctrl}}+{{KEY|S}}
|Shortcut={{KEY|Ctrl}}+{{KEY|S}}
|SeeAlso=[[Std_SaveAs|Std SaveAs]], [[Std_SaveaCopy|Std SaveCopy]], [[Std_SaveAll|Std SaveAll]]
|SeeAlso=[[Std_SaveAs|Std SaveAs]], [[Std_SaveCopy|Std SaveCopy]], [[Std_SaveAll|Std SaveAll]]
}}
}}


Line 39: Line 39:
* 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.


==Notes==
==Notes== <!--T:25-->


<!--T:26-->
* This command can also be used to save dependency graphs. See [[Std_ExportGraphviz|Std ExportGraphviz]].
* This command can also be used to save dependency graphs. See [[Std_DependencyGraph|Std DependencyGraph]].


==Preferences== <!--T:19-->
==Preferences== <!--T:19-->
Line 58: Line 59:
<!--T:24-->
<!--T:24-->
{{Docnav
{{Docnav
|[[Std_CloseAll|Std CloseAllWindows]]
|[[Std_CloseAllWindows|Std CloseAllWindows]]
|[[Std_SaveAs|Std SaveAs]]
|[[Std_SaveAs|Std SaveAs]]
|[[Std_File_Menu|Std File Menu]]
|[[Std_File_Menu|Std File Menu]]

Revision as of 21:53, 5 October 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.

Notes

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.