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

From FreeCAD Documentation
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page is a translated version of the page Std CloseAllWindows and the translation is 82% complete.
Other languages:

Закрыть всё

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

Описание

Команда Закрыть всё закрывает все окна, тем самым закрывая все документы.

Применение

  1. Select the File → Close All option from the menu.
  2. If there are unsaved documents a dialog box will prompt you to save them:
    • Press the Save button to save the active document. If required enter a filename first.
    • Press the Discard button to discard the active document and lose all changes.

Опции

  • When the dialog box is displayed: press Esc or the Cancel button to abort the command.
  • If there are multiple unsaved documents: check the Apply answer to all checkbox to avoid being prompted for each unsaved document separately.

Примечания

  • 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. Пример скрипта можно посмотреть на странице команды "Создать".