*entitysuppressactive

Sets the active/inactive state of the specified entity.

Syntax

*entitysuppressactive entity_type entity_id state

Type

HyperMesh Tcl Modify

Description

This command sets the active/inactive state of an entity of type entity_type and ID entity_id.

Inputs

entity_type
entity_id
state
This argument indicates the status for entity_id.
  • 0 - Set the entity to active and to turn on its display.
  • 1 - Set the entity to inactive and remove it from the display.
  • 2 - Set the entity to active but not to re-display it.

Example

To set component ID 10 to active and re-display:
*entitysuppressactive comps 10 0
To set loadcol ID 30 to inactive:
*entitysuppressactive loadcols 30 1
To set block ID 1 to active and not re-display:
*entitysuppressactive 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