Std CloseAllWindows/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "Чтобы закрыть документ используйте метод {{incode|closeDocument}} приложения FreeCAD. Пример скрипта можно по...")
(Updating to match new version of source page)
 
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav/ru
{{Docnav/ru
|[[Std_CloseActiveWindow/ru|Команда "Закрыть"]]
|[[Std_CloseActiveWindow/ru|Команда "Закрыть"]]
Line 17: Line 18:
}}
}}


<span id="Description"></span>
==Описание==
==Описание==


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


<span id="Usage"></span>
==Применение==
==Применение==


Line 28: Line 31:
#* Press the {{Button|Discard}} button to discard the active document and lose all changes.
#* Press the {{Button|Discard}} button to discard the active document and lose all changes.


<span id="Options"></span>
==Опции==
==Опции==


* When the dialog box is displayed: press {{KEY|Esc}} or the {{Button|Cancel}} button to abort the command.
* When the dialog box is displayed: press {{KEY|Esc}} or the {{Button|Cancel}} button to abort the command.
* If there are multiple unsaved documents: check the {{CheckBox|TRUE|Apply answer to all}} checkbox to avoid being prompted for each unsaved document separately.
* If there are multiple unsaved documents: check the {{MenuCommand|Apply answer to all}} checkbox to avoid being prompted for each unsaved document separately.


<span id="Notes"></span>
==Примечания==
==Примечания==


* A document can also be closed by right-clicking it in the [[Tree_view|Tree view]] and selecting {{MenuCommand|Close document}} from the context menu.
* A document can also be closed by right-clicking it in the [[Tree_view|Tree view]] and selecting {{MenuCommand|Close document}} from the context menu.


<span id="Scripting"></span>
==Настройки==

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

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


Line 57: Line 59:
}}
}}


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

Latest revision as of 11:47, 21 April 2024

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.

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

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

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