Std SaveCopy/it: Difference between revisions

From FreeCAD Documentation
(Created page with "{{Docnav/it |Salva con nome |Salva tutto |Menu File |IconL=Std_SaveAs.svg |IconR= |IconC=Freecad.svg }}")
No edit summary
Line 9: Line 9:
}}
}}


{{GuiCommand/it
<div class="mw-translate-fuzzy">
|Name=Std SaveCopy
{{GuiCommand/it|Name=Std SaveaCopy|Name/it=Salva una copia|MenuLocation=[[Std_File_Menu/it|File]] → Salva una copia...|Workbenches=Tutti|Shortcut=C|SeeAlso=[[Std_Save/it|Salva]], [[Std_SaveAs/it|Salva come...]] }}
|Name/it=Salva una copia
</div>
|Empty=1
|MenuLocation=File → Salva una copia...
|Workbenches=All
|SeeAlso=[[Std_SaveAs/it|Salva con nome]], [[Std_Save/it|Salva]]
}}


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">

Revision as of 21:18, 17 April 2020

Salva una copia

Posizione nel menu
File → Salva una copia...
Ambiente
All
Avvio veloce
Nessuno
Introdotto nella versione
-
Vedere anche
Salva con nome, Salva

Descrizione

Salva una copia del documento attuale con un nuovo nome di file.

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

Uso

Scegliere File → Salva una copia... dal menu principale.

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)