Std SaveCopy/pl: Difference between revisions

From FreeCAD Documentation
(Created page with "Sdt: Zapisz jako kopi")
 
(Updating to match new version of source page)
 
(14 intermediate revisions by one other user not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav
{{Docnav/pl
|[[Std_SaveAs|SaveAs]]
|[[Std_SaveAs/pl|Zapisz jako]]
|[[Std_SaveAll|SaveAll]]
|[[Std_SaveAll/pl|Zapisz wszystkie]]
|[[Std_File_Menu|Std File Menu]]
|[[Std_File_Menu/pl|Menu Plik]]
|IconL=Std_SaveAs.svg
|IconL=Std_SaveAs.svg
|IconR=Std_SaveAll.svg
|IconR=Std_SaveAll.svg
Line 9: Line 10:
}}
}}


{{GuiCommand
{{GuiCommand/pl
|Name=Std SaveCopy
|Name=Std SaveCopy
|Name/pl=Std: Zapisz jako kopię
|MenuLocation=FileSave a Copy...
|MenuLocation=PlikZapisz jako kopię ...
|Workbenches=All
|Workbenches=wszystkie
|SeeAlso=[[Std_SaveAs|Std SaveAs]], [[Std_Save|Std Save]]
|SeeAlso=[[Std_SaveAs/pl|Zapisz wszystkie jako]], [[Std_Save/pl|Zapisz]]
}}
}}


==Description==
<span id="Description"></span>
==Opis==

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

==Usage==


Polecenie '''Zapisz jako kopię''' zapisuje kopię aktywnego dokument w pliku pod nową nazwą.
# Select the {{MenuCommand|File → [[Image:Std_SaveCopy.svg|16px]] Save a Copy...}} option from the menu.
# Enter a filename in the dialog box.
# Press the {{Button|Save}} button.


<span id="Usage"></span>
==Options==
==Użycie==


# Wybierz z menu opcję {{MenuCommand|Plik → [[Image:Std_SaveCopy.svg|16px]] Zapisz jako kopię ...}}.
* Press {{KEY|Esc}} or the {{Button|Cancel}} button to abort the command.
# Wprowadź nazwę pliku w oknie dialogowym.
# Naciśnij przycisk {{Button|Zapisz}}.


<span id="Options"></span>
==Preferences==
==Opcje==


* Naciśnij przycisk {{KEY|Esc}} lub przycisk {{Button|Anuluj}} aby przerwać wykonywanie polecenia.
* The last used file location is stored: {{MenuCommand|Tools → Edit parameters... → BaseApp → Preferences → General → FileOpenSavePath}}.


==Scripting==
<span id="Scripting"></span>
==Tworzenie skryptów==


{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
{{Emphasis|Zobacz również:}} [[FreeCAD_Scripting_Basics/pl|FreeCAD podstawy tworzenia skryptów]].


To save a copy of a document use the {{incode|saveCopy}} method of the document object.
Aby zapisać kopię dokumentu, należy użyć metody {{incode|saveCopy}} obiektu ''document''.


{{Code|code=
{{Code|code=
Line 56: Line 58:




{{Docnav
{{Docnav/pl
|[[Std_SaveAs|SaveAs]]
|[[Std_SaveAs/pl|Zapisz jako]]
|[[Std_SaveAll|SaveAll]]
|[[Std_SaveAll/pl|Zapisz wszystkie]]
|[[Std_File_Menu|Std File Menu]]
|[[Std_File_Menu/pl|Menu Plik]]
|IconL=Std_SaveAs.svg
|IconL=Std_SaveAs.svg
|IconR=Std_SaveAll.svg
|IconR=Std_SaveAll.svg
Line 65: Line 67:
}}
}}


{{Std Base navi{{#translation:}}}}
{{Std_Base_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Latest revision as of 11:53, 21 April 2024

Std: Zapisz jako kopię

Lokalizacja w menu
Plik → Zapisz jako kopię ...
Środowisko pracy
wszystkie
Domyślny skrót
brak
Wprowadzono w wersji
-
Zobacz także
Zapisz wszystkie jako, Zapisz

Opis

Polecenie Zapisz jako kopię zapisuje kopię aktywnego dokument w pliku pod nową nazwą.

Użycie

  1. Wybierz z menu opcję Plik → Zapisz jako kopię ....
  2. Wprowadź nazwę pliku w oknie dialogowym.
  3. Naciśnij przycisk Zapisz.

Opcje

  • Naciśnij przycisk Esc lub przycisk Anuluj aby przerwać wykonywanie polecenia.

Tworzenie skryptów

Zobacz również: FreeCAD podstawy tworzenia skryptów.

Aby zapisać kopię dokumentu, należy użyć metody saveCopy obiektu document.

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)