Std Refresh

From FreeCAD Documentation
Revision as of 18:55, 7 February 2020 by Kunda1 (talk | contribs) (Added {{StdMenu}} to {{GuiCommand}} and fixed shortcut templates)

Std Refresh

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


Description

When used, this command recomputes all altered components on the screen and refreshes the display.

Usage

  1. There are several ways to invoke the Refresh command:
    • Pressing the F5 keyboard shortcut
    • Pressing the Ctrl+R keyboard shortcut
    • Pressing on the Refresh button in the toolbar
    • Using the Edit → Refresh entry from the top menu

Limitations

FreeCAD will only allow Refresh when (according to the program's opinion) an alteration of a component happened. Then the grayed-out Refresh-Icon will become blue. To force a manual recompute you could use the macro Force Recompute

Scripting

See also: FreeCAD Scripting Basics.

Recomputing the model can be done in macros and from the Python console by using the recompute method of the currently active document.

import FreeCAD as App

doc = App.newDocument()
doc.recompute()
# App.ActiveDocument.recompute()