*elementconfigcolor

Sets the color for element config.

Syntax

*elementconfigcolor config color

Type

HyperMesh Tcl Modify Command

Description

The command sets the color for element config.

Inputs

config
The element config that is to have its color changed. This input can be specified as config number or config string label.
color
The color that needs to be set for the config specified. This input must be specified as color number.

Examples

To set the color of element config 103 to 2:
*elementconfigcolor 103 2
To set the color of element config tria3 to 2:
*elementconfigcolor tria3 2
To set all element configurations to their default color:
*elementconfigcolor 0 0

After the color has been set, all elements of the corresponding configuration are set to the value of color.

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.3 - Added support for string labels as input arguments.