Std Save/fr: Difference between revisions

From FreeCAD Documentation
m (Created page with "Lors du premier enregistrement du document, une boîte de dialogue apparaît pour définir l'emplacement et le nom de fichier.")
(Updating to match new version of source page)
(28 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<languages/>
{{GuiCommand/fr|Name=Std Save|Name/fr=Enregistrer|MenuLocation=[[Std_File_Menu/fr|Fichier]] → Save|Workbenches=All|Shortcut=Crtl+S|SeeAlso=[[Std_SaveAs/fr|Enregistrer sous...]]}}
{{Docnav
|[[Std_CloseAll|Std CloseAllWindows]]
|[[Std_SaveAs|Std SaveAs]]
|[[Std_File_Menu|Std File Menu]]
|IconL=
|IconR=Std_SaveAs.svg
|IconC=Freecad.svg
}}


<div class="mw-translate-fuzzy">
La commande {{KEY|Enregistrer}} enregistre le document du projet en cours dans un fichier. Les autres autres documents ouverts dans FreeCAD, ne seront pas enregistrés.
{{GuiCommand/fr
|Name=Std Save
|Name/fr=Std Enregistrer
|MenuLocation=[[Std_File_Menu/fr|Fichier]] → Enregistrer
|Workbenches=Tous
|Shortcut=Crtl+S
|SeeAlso=[[Std_SaveAs/fr|Enregistrer sous...]]
}}
</div>


==Description==
Lors du premier enregistrement du document, une boîte de dialogue apparaît pour définir l'emplacement et le nom de fichier.


The '''Std Save''' command saves the active document.


==Usage==
[[Image:FileSaveAs.png|left]]
{{clear}}


# There are several ways to invoke the command:
#* Press the {{Button|[[Image:Std_Save.svg|16px]] [[Std_Save|Std Save]]}} button.
#* Select the {{MenuCommand|File → [[Image:Std_Save.svg|16px]] Save}} option from the menu.
#* Use the keyboard shortcut: {{KEY|Ctrl}}+{{KEY|S}}.
# For new documents: enter a filename in the dialog box and press the {{Button|Save}} button.


==Options==
The name assigned to the document to save it also becomes the name used for the root in the document tree structure.


* For new documents: press {{KEY|Esc}} or the {{Button|Cancel}} button to abort the command.
Subsequent {{KEY|Save}} commands automatically use the path and file name defined in the first save. To save the file in a
different location, or assign to it a new name, you must use the Save As command.


==Preferences==
When you try to close a modified document, or exit FreeCAD with modified documents in use, you will receive a warning:


* The last used file location is stored: {{MenuCommand|Tools → Edit parameters... → BaseApp → Preferences → General → FileOpenSavePath}}.
[[Image:UnsavedDocument.png|left]]
{{clear}}


==Scripting==


{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
You can define a default location for opening and saving files using the menu Tools → Edit Parameters → BaseApp → Preferences → General → FileOpenSavePath.


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]].
[[Image:FileOpenSavePath.png|left]]


{{Docnav
[[Category:Documentation]]
|[[Std_CloseAll|Std CloseAllWindows]]
[[Category:Command_Reference]]
|[[Std_SaveAs|Std SaveAs]]
|[[Std_File_Menu|Std File Menu]]
|IconL=
|IconR=Std_SaveAs.svg
|IconC=Freecad.svg
}}

{{Std Base navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}
{{clear}}
<languages/>

Revision as of 21:34, 23 March 2020

Std Enregistrer

Emplacement du menu
Fichier → Enregistrer
Ateliers
Tous
Raccourci par défaut
Crtl+S
Introduit dans la version
-
Voir aussi
Enregistrer sous...

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.