hm_setpanelproc

Clears HyperMesh panels, and sets <procedure name> as a macro to be called.

Syntax

hm_setpanelproc proc_name ?lockgui?

Type

HyperMesh Tcl GUI Command

Description

Clears HyperMesh, and sets <procedure name> as a macro to be called.

Inputs

proc_name
The Tcl procedure name to be called.
?lockgui? (optional)
Prevents GUI events (such as clicking a toolbar button) from occurring while the process is running.

Example

proc LinesAndCircles {} {
    hm_callpanel lines
    hm_callpanel circles
}
hm_setpanelproc LinesAndCircles
or
hm_setpanelproc LinesAndCircles lockgui

Errors

None.