Std Refresh

From FreeCAD Documentation
Revision as of 09:18, 18 March 2020 by Roy 043 (talk | contribs) (Revised.)
This documentation is a work in progress. Please don't mark it as translatable since it will change in the next hours and days.


Std Refresh

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

Description

The Std Refresh command recomputes modified objects and refreshes the 3D view. The command is disabled if there are no objects that require a recompute.

Usage

  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.

Options

  • To force a recompute for an individual object or the whole document, right click the object or the document in the Tree view, choose Mark to recompute from the context menu and invoke the Std Refresh command.
  • For individual objects you can also choose Recompute object from the same context menu (introduced in version 0.19).

Notes

Scripting

See also: FreeCAD Scripting Basics.

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

import FreeCAD

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