*marksuppressactive

Sets the active/inactive state of the specified entity mark.

Syntax

*marksuppressactive entity_type mark_id state

Type

HyperMesh Tcl Modify

Description

This command sets the active/inactive state of entities of type entity_type contained on mark mark_id. Valid mark_ids are 1 and 2. The state argument indicates the active/inactive status for entity_id. A state of 0 indicates to set the entity to active and to turn on its display. A state of 1 indicates to set the entity to inactive and remove it from the display. A state of 2 indicates to set the entity to active but not to re-display it.

Example

To create a mark of inactive components to set active and re-display:

*createmark comps 1 inactive
*marksuppressactive comps 1 0

To create a mark of displayed loadcols to set inactive:

*createmark loadcols 1 displayed
*marksuppressactive loadcols 1 1

To create a mark of all blocks and set them active but don’t re-display them

*createmark blocks 1 all
*appendmark blocks 1 inactive
*marksuppressactive blocks 1 2

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

9.0