hwf::setbackgroundcolor

Changes the background color for all windows in the HyperWorks session.

Syntax

hwf::setbackgroundcolor color_rgb

Type

HyperWorks Framework

Description

Changes the background color for all windows in the HyperWorks session. The color change affects only the graphics area and it is not stored in the HyperMesh database file or the session file.

Input

color_rgb
The hexadecimal color value.

Example

To set the background color to a dark color, #242424:
hwf::setbackgroundcolor #242424

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

2022.1