*setreviewbymark
Adds entities to the review list based on a mark.
Syntax
*setreviewbymark entity_type mark_id color
Type
HyperMesh Tcl Modify
Description
This command adds entities to the review list based on a mark.
Inputs
- entity_type
- The type of entity to add to the review list. Valid values are:
- nodes
- elems
- points
- lines
- surfs
- solids
- connectors
- loads
- equations
- systs
- vectors
- mark_id
- The ID of the mark containing the entities. Valid values are 1 and 2.
- color
- The color to use for review of the entity. Valid values are 1-64.
Example
To review elements 1-100 with color 4, with all other non-reviewed entities having transparency and gray color:
*createmark elems 1 1-100
*setreviewbymark elems 1 4
*setreviewcolormode 0
*setreviewtransparentmode 1
*setreviewmode 1
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}