Std CloseActiveWindow/ru

Описание
The Std CloseActiveWindow command closes the active window. To close a document all its windows must be closed.

Применение

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

Опции

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

Примечания

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

Настройки

 * The last used file location is stored:.

Scripting
Основы составления скриптов в FreeCAD.

To close a document use the method of the FreeCAD application. For a scripting example see Std New.