*morphdomainsupdatecolor

Sets the color of selected domains.

Syntax

*morphdomainsupdatecolor entity_type mark_id color

Type

HyperMesh Tcl Modify Command

Description

This command will update the color of selected domains to the specified color.

Inputs

entity_type
Must be set to domains.
mark_id
The ID of the mark containing the domains. Valid values are 1 and 2.
color
The color of the domain. Valid values are 1 through 64.

Example

To change the color of a number of domains to be violet:

*createmark domains 1 6 15 154 153 68 143 211 185 184 167
*morphdomainsupdatecolor domains 1 37 

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