Std Refresh: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 37: Line 37:
==Options==
==Options==


* To force a recompute for an individual object or the whole document, right click the object or the document in the [[Tree_view|Tree view]], choose {{MenuCommand|Mark to recompute}} from the context menu and invoke the command.
* To force a recompute select the document or one or more objects in the [[Tree_view|Tree view]], choose the {{MenuCommand|Mark to recompute}} option from the context menu, and invoke the command.
* For individual objects you can also choose {{MenuCommand|Recompute object}} from the same context menu ({{Version|0.19}}).
* For objects, but not for documents, you can also choose {{MenuCommand|Recompute object}} from the same context menu ({{Version|0.19}}).


==Notes==
==Notes==

Revision as of 19:18, 18 March 2020

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 in the model and refreshes the 3D view. The command is disabled if the model does not 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 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 (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()