GuiCommand: Name: Std Refresh MenuLocation: Edit , Refresh Workbenches: All Shortcut: F5
Std Refresh
Description
The Std Refresh command recomputes the active document. The command is disabled if the document does not require a recompute.
Usage
- There are several ways to invoke the command:
- Press the
Refresh button.
- Select the Edit →
Refresh option from the menu.
- Use the keyboard shortcut: F5.
- Press the
Options
- 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.
Notes
- For a macro that will recompute the active document see: Macro ForceRecompute.
Scripting
See also: Autogenerated API documentation and FreeCAD Scripting Basics.
To recompute a document use the recompute
method of the document object.
import FreeCAD
doc = FreeCAD.newDocument()
doc.recompute()
⏵ documentation index > Std Refresh
This page is retrieved from https://github.com/FreeCAD/FreeCAD-documentation/blob/main/wiki/Std_Refresh.md