hm_getpanelarea

Returns the x, y, width and height of the panel area.

Syntax

hm_getpanelarea

Type

HyperMesh Tcl GUI

Description

This command returns the x and y coordinates that define the upper left corner along with the width and height on the panel area.

The x and y values are relative to the upper left corner of the HyperMesh modeling window, not the entire screen.

Example

To get the panel area coordinates and copy the panel area to the clipboard:

foreach {x y w h} [hm_getpanelarea] {
    hm_windowtoclipboard $x $y $w $h
}

Errors

None.