Std SaveCopy/ko: Difference between revisions

From FreeCAD Documentation
(Created page with "==용법==")
(Created page with "# 메뉴에서 {{MenuCommand|파일 → 16px 사본 저장...}} 옵션을 선택합니다. # 대화 상자에서 파일 이름을 입력합니다. #...")
Line 24: Line 24:
==용법==
==용법==


# Select the {{MenuCommand|File → [[Image:Std_SaveCopy.svg|16px]] Save a Copy...}} option from the menu.
# 메뉴에서 {{MenuCommand|파일 → [[Image:Std_SaveCopy.svg|16px]] 사본 저장...}} 옵션을 선택합니다.
# 대화 상자에서 파일 이름을 입력합니다.
# Enter a filename in the dialog box.
# Press the {{Button|Save}} button.
# {{Button|저장}} 버튼을 클릭합니다.


==Options==
==Options==

Revision as of 07:36, 25 December 2020

표준 사본 저장

메뉴 위치
파일 → 사본 저장...
작업대
모두
기본 단축키
없음
도입 버전
-
참조
표준 다른 이름으로 저장, 표준 저장

설명

표준 사본 저장(Std SaveAs) 명령은 활성 문서의 사본을 새 파일 이름으로 저장합니다.

용법

  1. 메뉴에서 파일 → 사본 저장... 옵션을 선택합니다.
  2. 대화 상자에서 파일 이름을 입력합니다.
  3. 저장 버튼을 클릭합니다.

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)