Std Refresh: Difference between revisions

From LabRPS Documentation
Jump to navigation Jump to search
(Created page with "{{Docnav |DuplicateSelection |SelectAll |Std Edit Menu |IconL=Std_DuplicateSelection.svg |IconR=Std_SelectAll.svg |IconC=Labrps.svg }} {{GuiCommand |Name=Std Refresh |MenuLocation=Edit → Refresh |Workbenches=All |Shortcut={{KEY|F5}} }} ==Description== The '''Std Refresh''' command recomputes the active document. The command is disabled if the document does not require a recompute. ==Usage== # There a...")
 
No edit summary
 
Line 11: Line 11:
|Name=Std Refresh
|Name=Std Refresh
|MenuLocation=Edit → Refresh
|MenuLocation=Edit → Refresh
|Workbenches=All
|Phenomena=All
|Shortcut={{KEY|F5}}
|Shortcut={{KEY|F5}}
}}
}}

Latest revision as of 19:34, 25 October 2024

Std Refresh.svg Std Refresh

Menu location
Edit → Refresh
Phenomena
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.svg Refresh button.
    • Select the Edit → Std Refresh.svg 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 Std MarkToRecompute.svg 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.


Scripting

See also: Autogenerated API documentation and LabRPS Scripting Basics.

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

import LabRPS

doc = LabRPS.newDocument()
doc.recompute()