*setreviewbyid
Adds entities to the review list based on an entity ID.
Syntax
*setreviewbyid entity_type id color review_type
Type
HyperMesh Tcl Modify Command
Description
This command adds entities to the review list based on an entity ID.
Inputs
- entity_type
- The type of entity to add to the review list. Valid values are blocks and groups.
- id
- The ID of the entity.
- color
- The color to use for review of the entity. Valid values are 1-64.
- review_type
- The review type to control.
Example
To review only secondary elements from group 5 with color 4, with all other non-reviewed entities having transparency and gray color:
*setreviewbyid groups 5 4 1
*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
}