Std Save/fr: Difference between revisions

From FreeCAD Documentation
m (Created page with "Lorsque vous essayez de fermer un document modifié, ou quitter FreeCAD après avoir modifiés des documents en cours d'utilisation, un avertissement sera affiché:")
(Updating to match new version of source page)
(24 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:Std_Save_01_fr.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==
Le nom attribué au document, devient aussi le nom utilisé pour la racine de l'arborescence de la structure du document.


* For new documents: press {{KEY|Esc}} or the {{Button|Cancel}} button to abort the command.
Après avoir {{KEY|Enregistré}} le premier document, le chemin et le nom de fichier sera défini automatiquement dans les prochains enregistrements. Pour enregistrer le fichier dans un autre emplacement, ou lui attribuer un nouveau nom, vous devez utiliser la commande {{KEY|Enregistrer sous}}.


==Preferences==
Lorsque vous essayez de fermer un document modifié, ou quitter FreeCAD après avoir modifiés des documents en cours d'utilisation, un avertissement sera affiché:


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