Jump to content

Std Refresh/cs

From FreeCAD Documentation
This page is a translated version of the page Std Refresh and the translation is 33% complete.

Std Refresh

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

Popis

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.

Použití

  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.

Volby

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

Poznámky

Skriptování

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()