*maskentitiesincollector

Masks the specified entities contained within the specified collectors.

Syntax

*maskentitiesincollector entity_type mark_id flag_1 flag_2 flag_3 flag_4 flag_5 flag_6

Type

HyperMesh Tcl Modify

Description

This command masks the entities contained within the collectors of entity_type that are on mark_id. Valid mark_ids are 1 and 2. Only entities in displayed collectors may be masked.

The six flag arguments indicate the type of entities to mask within the specified collectors. If the flag is set to 1, that entity is masked. If the flag is set to 0, that entity is not modified. See the list below for the currently supported entity_types and flags.

Inputs

comps
flag_1: elements
flag_2: points
flag_3: lines
flag_4: surfaces
flag_5: solids
flag_6: connectors
groups
flag_1: master elements
flag_2: slave elements
flag_3: flag_6 are not used
loadcols
flag_1: loads
flag_2: equations
flag_3: flag_6 are not used
multibodies
flag_1: ellipsoids
flag_2: mbjoints
flag_2: mbplanes
flag_4 through flag_6 are not used

Example

To mask all of the points and surfaces in the displayed components:

*createmark components 1 displayed
*maskentitiesincollector comps 1 0 1 0 1 0 0

To mask all ellipsoids and mbjoints in all multibodies:

*createmark multibodies 2 all
*maskentitiesincollector multibodies 2 1 1 0 0 0 0

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