*displaycollectorsbymark

Changes the display state of collectors in a mark.

Syntax

*displaycollectorsbymark entity_type mark_id mode elements geometry

Type

HyperMesh Tcl Modify Command

Description

Changes the display state of collectors in a mark.

Inputs

entity_type
The collector type. Valid types for this function are:
  • Components
  • Loadcols
  • Systcols
  • Vectorcols
mark_id
The ID of the mark (1 or 2) that specifies collectors to be used in the above functions.
mode
The mode being performed, defined by the following:
  • on - All collectors are turned on.
  • all - All collectors are turned on.
  • off - All collectors are turned off.
  • none - All collectors are turned off.
  • toggle - All collectors are toggled (visible become invisible and vice-versa).
  • reverse - All collectors are toggled (visible become invisible and vice-versa).
elements
Indicates if elements within collectors are to be turned on or off.
  • 1 - Yes
  • 0 - No
geometry
Indicates if geometry within collectors are to be turned on or off.
  • 1 - Yes
  • 0 - No

Example

To turn the elements on in the components fender, box and bolt, and keep the geometry as it is:
*createmark comps 1 "fender" "box" "bolt"
*displaycollectorsbymark components 1 on 1 0