Notice: Unexpected clearActionName after getActionName already called in /var/www/wiki/includes/context/RequestContext.php on line 338
Std Refresh - FreeCAD Documentation Jump to content

Std Refresh

From FreeCAD Documentation
(Redirected from Recompute)

Std Refresh

Menu location
Edit → Recompute
Workbenches
All
Default shortcut
Ctrl+Shift+R
Introduced in version
-
See also
None

Description[edit | edit source]

The Std Refresh command recomputes selected objects (introduced in 1.2), or the active document if no objects are selected. The command is disabled if no recompute is required, but in that case the command can still be invoked through its shortcut.

Usage[edit | edit source]

  1. There are several ways to invoke the command:
    • Press the Recompute button.
    • Select the Edit → Recompute option from the menu.
    • Use the keyboard shortcut: Ctrl+Shift+R.

Options[edit | edit source]

  • 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.

Notes[edit | edit source]

Scripting[edit | edit source]

See also: Autogenerated API documentation and FreeCAD Scripting Basics.

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

import FreeCAD

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