Std Refresh: Difference between revisions

From FreeCAD Documentation
(Removed the limitations paragraph. The info will be moved to Spreadsheet_Workbench.)
No edit summary
Line 4: Line 4:
<!--T:9-->
<!--T:9-->
{{Docnav
{{Docnav
|[[Std_DuplicateSelection|Std DuplicateSelection]]
|[[Std_DuplicateSelection|DuplicateSelection]]
|[[Std_BoxSelection|Std BoxSelection]]
|[[Std_BoxSelection|BoxSelection]]
|[[Std_Edit_Menu|Std Edit Menu]]
|[[Std_Edit_Menu|Std Edit Menu]]
|IconL=Std_DuplicateSelection.svg
|IconL=Std_DuplicateSelection.svg
Line 63: Line 63:
<!--T:13-->
<!--T:13-->
{{Docnav
{{Docnav
|[[Std_DuplicateSelection|Std DuplicateSelection]]
|[[Std_DuplicateSelection|DuplicateSelection]]
|[[Std_BoxSelection|Std BoxSelection]]
|[[Std_BoxSelection|BoxSelection]]
|[[Std_Edit_Menu|Std Edit Menu]]
|[[Std_Edit_Menu|Std Edit Menu]]
|IconL=Std_DuplicateSelection.svg
|IconL=Std_DuplicateSelection.svg

Revision as of 22:15, 21 December 2020

Std Refresh

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

Description

The Std Refresh command recomputes the active document. The command is disabled if the document 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 a document use the recompute method of the document object.

import FreeCAD

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