hm_getgraphicsarea
Returns the x, y, width and height of the modeling window.
Syntax
hm_getgraphicsarea
Type
HyperMesh Tcl GUI Command
Description
This command returns the x and y coordinates that define the upper left corner along with the width and height on the modeling window. The x and y values are relative to the root window.
Example
To get the modeling window coordinates and copy the modeling window to the clipboard:
foreach {x y w h} [hm_getgraphicsarea] {
hm_windowtoclipboard $x $y $w $h
}
Errors
None.
Version History
9.0