*elementtestduplicates

Tests elements for whether or not any two share the same nodes in the same order and puts all except one of any set of duplicates on the specified outputmark.

Syntax

*elementtestduplicates entities markmask outputmark dimension

Type

HyperMesh Tcl Modify Command

Description

Tests elements for whether or not any two share the same nodes in the same order and puts all except one of any set of duplicates on the specified outputmark.

Inputs

entities
The entity types to be checked. Currently, elements is the only allowable option.
markmask
The mark that contains the elements to test.
outputmark
The mark where HyperMesh should put the elements that fail the test.
dimension
A code telling to measure the dimension of:
  • 1 - Measure 1D elements.
  • 2 - Measure 2D elements.
  • 4 - Measure 3D elements.

Example

*createmark(elements,1) "displayed"
*createmark(elements,2)
*elementtestduplicates(elements,1,2,1)