*morphdomainsetcolor

Sets the color of a single domain.

Syntax

*morphdomainsetcolor domain_id color

Type

HyperMesh Tcl Modify

Description

This command will set the color of a domain to the specified color.

Inputs

domain_id
The ID of the domain to update.
color
The color of the domain. Valid values are 1 through 64.

Example

To assign color 45 to domain 33:

*morphdomainsetcolor 33 45

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

12.0.110