Std Refresh/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "{{Docnav/ru |Команда "Правка → Дубликат" |Std_BoxSelection/ru|Команда "Правка → Выделить обла...")
(Updating to match new version of source page)
 
(12 intermediate revisions by one other user not shown)
Line 2: Line 2:


{{Docnav/ru
{{Docnav/ru
|[[Std_DuplicateSelection/ru|Команда "Правка → Дубликат"]]
|[[Std_DuplicateSelection/ru|Команда "Дублировать выбранное"]]
|[[Std_BoxSelection/ru|Команда "Правка → Выделить область"]]
|[[Std_BoxSelection/ru|Команда "Выделить область"]]
|[[Std_Edit_Menu/ru|Меню "Правка"]]
|[[Std_Edit_Menu/ru|Меню "Правка"]]
|IconL=Std_DuplicateSelection.svg
|IconL=Std_DuplicateSelection.svg
Line 11: Line 11:


{{GuiCommand/ru
{{GuiCommand/ru
|Name/ru=Обновить
|Name=Std_Refresh
|Name=Std_Refresh
|MenuLocation=Правка → Обновить
|Name/ru=Std_Refresh
|Workbenches=Все
|MenuLocation=[[Std_Edit_Menu/ru|Правка]] → Обновить
|Workbenches=All
|Shortcut={{KEY|F5}}
|Shortcut={{KEY|F5}}
}}
}}


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


The '''Std Refresh''' command recomputes the active document. The command is disabled if the document does not require a recompute.
The '''Std Refresh''' command recomputes the active document. The command is disabled if the document does not require a recompute.


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


# There are several ways to invoke the command:
# There are several ways to invoke the command:
Line 29: Line 31:
#* Use the keyboard shortcut: {{KEY|F5}}.
#* Use the keyboard shortcut: {{KEY|F5}}.


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


* To force a recompute select the document or one or more objects in the [[Tree_view|Tree view]], choose the {{MenuCommand|[[Image:Std_MarkToRecompute.svg|16px]] Mark to recompute}} option from the context menu, and invoke the command.
* To force a recompute select the document or one or more objects in the [[Tree_view|Tree view]], choose the {{MenuCommand|[[Image:Std_MarkToRecompute.svg|16px]] Mark to recompute}} option from the context menu, and invoke the command.
* For objects, but not for documents, you can also choose {{MenuCommand|Recompute object}} from the same context menu ({{Version|0.19}}).
* For objects, but not for documents, you can also choose {{MenuCommand|Recompute object}} from the same context menu.


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


* For a macro that will recompute the active document see: [[Macro_ForceRecompute|Macro ForceRecompute]].
* For a macro that will recompute the active document see: [[Macro_ForceRecompute|Macro ForceRecompute]].


==Scripting==
<span id="Scripting"></span>
==Программирование==


{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
{{Emphasis|Смотрите так же:}} [[FreeCAD_Scripting_Basics/ru|Основы составления скриптов в FreeCAD]].


To recompute a document use the {{incode|recompute}} method of the document object.
Для обновления документа используйте метод {{incode|recompute}} объекта document.


{{Code|code=
{{Code|code=
Line 51: Line 56:
}}
}}


{{Docnav
{{Docnav/ru
|[[Std_DuplicateSelection|DuplicateSelection]]
|[[Std_DuplicateSelection/ru|Команда "Дублировать выбранное"]]
|[[Std_BoxSelection|BoxSelection]]
|[[Std_BoxSelection/ru|Команда "Выделить область"]]
|[[Std_Edit_Menu|Std Edit Menu]]
|[[Std_Edit_Menu/ru|Меню "Правка"]]
|IconL=Std_DuplicateSelection.svg
|IconL=Std_DuplicateSelection.svg
|IconR=Std_BoxSelection.svg
|IconR=Std_BoxSelection.svg

Latest revision as of 15:40, 20 May 2023

Обновить

Системное название
Std_Refresh
Расположение в меню
Правка → Обновить
Верстаки
Все
Быстрые клавиши
F5
Представлено в версии
-
См. также
Нет

Описание

The Std Refresh command recomputes the active document. The command is disabled if the document does not require a recompute.

Применение

  1. There are several ways to invoke the command:
    • Press the Std Refresh button.
    • Select the Edit → Refresh option from the menu.
    • Use the keyboard shortcut: F5.

Опции

  • To force a recompute select the document or one or more objects in the Tree view, choose the Mark to recompute option from the context menu, and invoke the command.
  • For objects, but not for documents, you can also choose Recompute object from the same context menu.

Примечания

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

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

Для обновления документа используйте метод recompute объекта document.

import FreeCAD

doc = FreeCAD.newDocument()
doc.recompute()