*morphdomainautocolor
Automatically assign a different color to selected domains.
Syntax
*morphdomainautocolor entity_type mark_id
Type
HyperMesh Tcl Modify Command
Description
This command will set the color of selected domains to be a different value if possible. All 64 colors will be used, except for black, before the same color is used a second time.
Inputs
- entity_type
- Must be set to domains.
- mark_id
- The ID of the mark containing the domains. Valid values are 1 and 2.
Example
To assign a different color to a number of domains:
*createmark domains 1 6 15 154 153 68 143 211 208 185 184 167 157
*morphdomainautocolor domains 1
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