HyperWorks Desktop

*screensize()

*screensize()

Previous topic Next topic No expanding text in this topic  

*screensize()

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME


*screensize - Sets the physical size of the attached monitor.

 

SYNTAX


*screensize(width,height)

 

TYPE


hm.cfg Command

 

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 doesn’t 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.

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.

 

EXAMPLES


To set the screesize for a 16x9 monitor with 1920x1200 resolution:

*screensize(1920,1200)

 

ERRORS


None.

 

SEE ALSO


Configuration File Commands