*setbackgroundgradient

Sets the gradient background color1 and color2 values.

Syntax

*setbackgroundgradient type

Type

HyperMesh Tcl Modify

Description

Sets the gradient background type.

Inputs

type
The type of gradient to use. Valid values are:
  • 121
  • diagonal1
  • diagonal2
  • vertical

Example

To set the gradient background to 121:

*setbackgroundgradient 121

Errors

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