Команда "Закрыть"

From FreeCAD Documentation
Revision as of 11:44, 25 August 2021 by Evgeniy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Other languages:

Закрыть

Системное название
Std CloseActiveWindow
Расположение в меню
Файл → Закрыть
Верстаки
Все
Быстрые клавиши
Ctrl+F4
Представлено в версии
-
См. также
Закрыть всё

Описание

Команда Закрыть закрывает активное окно. Чтобы закрыть документ полностью, нужно чтобы все его окна были закрыты.

Применение

  1. There are several ways to invoke the command:
    • Select the File → Close option from the menu.
    • Use the keyboard shortcut: Ctrl+F4.
  2. To close a document: repeat this for all windows belonging to it.
  3. When closing the last window of a document that has not been saved, a dialog box will prompt you to save it:
    • Press the Save button to save the document. If required enter a filename first.
    • Press the Discard button to discard the document and lose all changes.

Опции

  • Когда диалоговое окно отображается: нажмите Esc или кнопку Отмена, чтобы прервать выполнение команды.

Примечания

  • The command can only close docked windows.
  • A document can also be closed by right-clicking it in the Tree view and selecting Close document from the context menu.

Настройки

  • Путь к последнему файлу к которому была применена данная команда сохраняется в параметр: Инструменты → Редактор параметров... → BaseApp → Preferences → General → FileOpenSavePath.

Программирование

Смотрите так же: Основы составления скриптов в FreeCAD.

Чтобы закрыть документ используйте метод closeDocument приложения FreeCAD. Пример скрипта можно посмотреть на странице команды "Создать".