*markintersection

Determines the intersection between two marks and stores the results in the first mark.

Syntax

*markintersection entity_typeA mark_idA entity_typeB mark_idB

Type

HyperMesh Tcl Modify Command

Description

This command determines the intersection between the entity IDs that exist on mark_idA on those on mark_idB. The results are then placed on mark_idA.

Both entity_typeA and entity_typeB must be the same.

Example

To delete the intersection between the elements on marks 1 and 2:

*createmark elems 1 1 2 3 4
*createmark elems 2 4 5 6 7
*markintersection elems 1 elems 2
*deletemark elems 1

This will delete element 4.

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}