*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.
For blocks:
  • 1 = nodes
  • 2 = elems
For groups:
  • 1 = slave only
  • 2 = master only
  • 3 = master & slave

Example

To review only slave 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
}