Std Refresh/pt-br: Difference between revisions

From FreeCAD Documentation
(Created page with "==Notas==")
(Created page with "{{Emphasis|Veja também:}} FreeCAD Noções básicas de programação.")
 
Line 43: Line 43:
==Scripting==
==Scripting==


{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
{{Emphasis|Veja também:}} [[FreeCAD_Scripting_Basics/pt-br|FreeCAD Noções básicas de programação]].


To recompute a document use the {{incode|recompute}} method of the document object.
To recompute a document use the {{incode|recompute}} method of the document object.

Latest revision as of 11:30, 25 August 2023

Other languages:

Std Refresh

Menu location
Edit → Refresh
Workbenches
All
Default shortcut
F5
Introduced in version
-
See also
None

Descrição

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

Uso

  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.

Opções

  • 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.

Notas

Scripting

Veja também: FreeCAD Noções básicas de programação.

To recompute a document use the recompute method of the document object.

import FreeCAD

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