Std CloseAllWindows/ru: Difference between revisions

From FreeCAD Documentation
No edit summary
(Created page with "Чтобы закрыть документ используйте метод {{incode|closeDocument}} приложения FreeCAD. Пример скрипта можно по...")
Line 45: Line 45:
{{Emphasis|Смотрите так же:}} [[FreeCAD_Scripting_Basics/ru|Основы составления скриптов в FreeCAD]].
{{Emphasis|Смотрите так же:}} [[FreeCAD_Scripting_Basics/ru|Основы составления скриптов в FreeCAD]].


Чтобы закрыть документ используйте метод {{incode|closeDocument}} приложения FreeCAD. Пример скрипта можно посмотреть на странице команды [[Std_New/ru|"Создать"]].
To close a document use the {{incode|closeDocument}} method of the FreeCAD application. For a scripting example see [[Std_New|Std New]].





Revision as of 11:43, 25 August 2021

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