*setreviewbyname

Adds entities to the review list based on an entity name.

Syntax

*setreviewbyname entity_type name color review_type

Type

HyperWorks Tcl Query Command

Description

Adds entities to the review list based on an entity name.

Inputs

entity_type
The type of entity to add to the review list. Valid values are:
blocks
groups
name
The name 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 - secondary only
2 - main only
3 - main and secondary

Example

To review only secondary elements from group CONTACT with color 4, with all other non-reviewed entities having transparency and gray color:

*setreviewbyname groups CONTACT 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
}