*entitydisplaywithattached

Isolates an entity and its attached entities.

Syntax

*entitydisplaywithattached entity_type mark_id attached_entity_type display_flag

Type

HyperMesh Tcl Modify Command

Description

Isolates an entity and its attached entities.

Inputs

entity_type
The type of entity to be used for display. Currently only valid for groups.
Supported group configs:
  • 1 - elem and elem (Customized for Abaqus to get the surface from attributes)
  • 2 - node and elem
  • 3 - elem
  • 4 - node (elements/components attached to node is shown)
Supported group definitions:
  • 0 - entities
  • 1 - components
  • 4 - sets
  • 5 - contactsurfs
mark_id
The ID of the mark containing the entities. Valid values are 1 and 2.
attached_entity_type
Valid values are comps, elems and groups.
display_flag
0 - Show
1 - Isolate

Examples

To show the components attached to group 1:

*createmark group 1 1
*entitydisplaywithattached group 1 comps 0
To isolate the components attached to groups 1 and 10:
*createmark group 1 1 10
*entitydisplaywithattached group 1 comps 1
To show the elements attached to group 1:
*createmark group 1 1
*entitydisplaywithattached group 1 elems 0
To isolate the elements attached to groups 1 and 10:
*createmark group 1 1 10
*entitydisplaywithattached group 1 elems 1

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

14.0.130