Std SaveCopy/de: Difference between revisions

From FreeCAD Documentation
(Part of translatable page "Std SaveaCopy")
(Updating to match new version of source page)
Line 5: Line 5:
|[[Std_File_Menu|Std File Menu]]
|[[Std_File_Menu|Std File Menu]]
|IconL=Std_SaveAs.svg
|IconL=Std_SaveAs.svg
|IconR=
|IconR=Std_SaveAll.svg
|IconC=Freecad.svg
|IconC=Freecad.svg
}}
}}


<div class="mw-translate-fuzzy">
{{GuiCommand/de|Name=Std SaveaCopy|Name/de=Std SaveaCopy|MenuLocation=[[Std_File_Menu|Datei]] → Speichern einer Kopie...|Workbenches=Alle|Shortcut={{KEY|C}}|SeeAlso=[[Std_Save/de|Speichern]], [[Std_SaveAs/de|Speichern unter...]] }}
{{GuiCommand/de|Name=Std SaveaCopy|Name/de=Std SaveaCopy|MenuLocation=[[Std_File_Menu|Datei]] → Speichern einer Kopie...|Workbenches=Alle|Shortcut={{KEY|C}}|SeeAlso=[[Std_Save/de|Speichern]], [[Std_SaveAs/de|Speichern unter...]] }}
</div>


==Beschreibung==
==Beschreibung==
Line 19: Line 21:
Wähle {{Button|Datei}} → {{Button|Speichern einer Kopie...}} aus der Menüleiste.
Wähle {{Button|Datei}} → {{Button|Speichern einer Kopie...}} aus der Menüleiste.


# Select the {{MenuCommand|File → Save a Copy...}} option from the menu.
# Select the {{MenuCommand|File → [[Image:Std_SaveCopy.svg|16px]] Save a Copy...}} option from the menu.
# Enter a filename in the dialog box.
# Enter a filename in the dialog box.
# Press the {{Button|Save}} button.
# Press the {{Button|Save}} button.
Line 51: Line 53:
doc.saveCopy(fnm)
doc.saveCopy(fnm)
}}
}}



{{Docnav
{{Docnav
Line 57: Line 60:
|[[Std_File_Menu|Std File Menu]]
|[[Std_File_Menu|Std File Menu]]
|IconL=Std_SaveAs.svg
|IconL=Std_SaveAs.svg
|IconR=
|IconR=Std_SaveAll.svg
|IconC=Freecad.svg
|IconC=Freecad.svg
}}
}}

Revision as of 15:28, 12 December 2020

Std SaveaCopy

Menüeintrag
Datei → Speichern einer Kopie...
Arbeitsbereich
Alle
Standardtastenkürzel
C
Eingeführt in Version
-
Siehe auch
Speichern, Speichern unter...

Beschreibung

Speichern eine Kopie des aktuellen Dokuments unter einem neuen Namen.

The Std SaveCopy command saves a copy of the active document under a new file name.

Anwendung

Wähle DateiSpeichern einer Kopie... aus der Menüleiste.

  1. Select the File → Save a Copy... option from the menu.
  2. Enter a filename in the dialog box.
  3. Press the Save button.

Options

  • 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 copy of a document use the saveCopy method of the document object.

import FreeCAD
from pathlib import Path

# The folder and filename we will use:
fld = 'D:/testfiles/'
fnm = fld + 'testCopy.FCStd'

# Make sure fld exists:
Path(fld).mkdir(parents=True, exist_ok=True)

doc = FreeCAD.newDocument()
doc.saveCopy(fnm)