Std Refresh: Difference between revisions

From FreeCAD Documentation
(Marked this version for translation)
m ({{Docnav)
Line 4: Line 4:
<!--T:9-->
<!--T:9-->
{{Docnav
{{Docnav
|[[Std_DuplicateSelection|Std DuplicateSelection]]
|
|[[Std_BoxSelection|Std BoxSelection]]
|[[Std_Redo|Redo]]
|[[Std_Edit_Menu|Std Edit Menu]]
|[[Std_Edit_Menu|Std Edit Menu]]
|IconL=
|IconL=Std_DuplicateSelection.png
|IconC=Freecad.svg
|IconC=Freecad.svg
|IconR=Std_Redo.svg
|IconR=Std_BoxSelection.svg
}}
}}


Line 17: Line 17:
|MenuLocation=[[Std_Edit_Menu|Edit]] → Refresh
|MenuLocation=[[Std_Edit_Menu|Edit]] → Refresh
|Workbenches=All
|Workbenches=All
|Shortcut=F5 or Ctrl+R
|Shortcut={{KEY|F5}} or {{KEY|Ctrl+R}}
}}
}}


Line 54: Line 54:
<!--T:13-->
<!--T:13-->
{{Docnav
{{Docnav
|[[Std_DuplicateSelection|Std DuplicateSelection]]
|
|[[Std_BoxSelection|Std BoxSelection]]
|[[Std_Redo|Redo]]
|[[Std_Edit_Menu|Std Edit Menu]]
|[[Std_Edit_Menu|Std Edit Menu]]
|IconL=
|IconL=Std_DuplicateSelection.png
|IconC=Freecad.svg
|IconC=Freecad.svg
|IconR=Std_Redo.svg
|IconR=Std_BoxSelection.svg
}}
}}



Revision as of 10:48, 15 November 2019

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.

How to use

Press F5 or Ctrl+R or click on the icon Refresh.

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()