hm_blockredraw

Specifies whether the redraw operation should be blocked.

Syntax

hm_blockredraw state

Type

HyperMesh Tcl GUI

Description

When the redraw operation is blocked, HyperMesh will not redraw unless the size of its window changes or it is de-iconified or maximized. When the redraw operation is unblocked, HyperMesh returns to normal.

HyperMesh will not redraw again if a Tcl/Tk script or a command file calls hm_blockredraw 1 and then fails to call hm_blockredraw 0. This may happen either because the second call was left out of the code, or because the code caused a Tcl/Tk error which prevented full execution. To correct this problem, create a script with hm_blockredraw 0 in it and run the script.

Inputs

state
0 - unblocks the redraw
1 - blocks the redraw

Example

hm_blockredraw 1

Errors

None.