Std Refresh: Difference between revisions

From FreeCAD Documentation
m (Docnav)
(Marked this version for translation)
Line 2: Line 2:
<translate>
<translate>


<!--T:9-->
{{Docnav
{{Docnav
|
|
Line 33: Line 34:
To force a manual recompute you could use the macro [[Macro ForceRecompute|Force Recompute]]
To force a manual recompute you could use the macro [[Macro ForceRecompute|Force Recompute]]


== Scripting ==
== Scripting == <!--T:10-->


<!--T:11-->
{{Emphasis|See also:}} [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]].
{{Emphasis|See also:}} [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]].


<!--T:12-->
Recomputing the model can be done in [[macros|macros]] and from the [[Python|Python]] console by using the {{incode|recompute}} method of the currently active document.
Recomputing the model can be done in [[macros|macros]] and from the [[Python|Python]] console by using the {{incode|recompute}} method of the currently active document.


Line 49: Line 52:
<translate>
<translate>


<!--T:13-->
{{Docnav
{{Docnav
|
|

Revision as of 09:54, 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()