*screensize()

Sets the physical size of the attached monitor.

Syntax

*screensize(width,height)

Type

hm.cfg Commands

Description

Informs HyperMesh of the physical size of your monitor. This changes the aspect ratio of the images drawn in the graphics area. If you use a wide aspect ratio screen, the length/width ratio of the objects may be distorted. Circles may look like ovals. When used, although the look of HyperMesh does not change, the proportions of the objects are corrected. The numbers are physical measurements of the display area of the screen (width, height).

In some cases, even after specifying the screen measurements, the display can still appear distorted. In such cases, change the two values to any numbers that have the same aspect ratio of the screen resolution that you use.

Inputs

width
The horizontal (x) dimension of the screen. To determine this value, measure the horizontal dimension of the usable portion of the screen excluding any borders in the default window that HyperMesh creates. The units used are not important but must be consistent.
height
The vertical (y) dimension of the screen. To determine this value, measure the vertical dimension of the usable portion of the screen excluding any borders in the default window that HyperMesh creates. The units used are not important but must be consistent.

Example

To set the screesize for a 16x9 monitor with 1920x1200 resolution:
*screensize(1920,1200)