*setscaleoption

Sets options for the modeling window model scale.

Syntax

*setscaleoption option=<value>

Type

HyperMesh Tcl Modify

Description

Sets options for the modeling window model scale.

Inputs

option=<value>
Valid options and values are:
color=<color>
The color of the scale. Valid values are 1-64.
height=<height>
The height of the scale. Valid values are S (for small), M (for medium) and L (for large).
position=<position>
The position of the scale. Valid values are bottomleft, bottom, bottomright, centerleft, center, centerright, topleft, top, topright.
width=<width>
The width of the scale. Valid values are S (for small), M (for medium) and L (for large).

Example

To set the scale to be visible in the top left, with a color of 3 and a large width:

*setscaleoption position=topleft
*setscaleoption color=3
*setscaleoption width=L

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

14.0