*permutemark

Permutes the entities on a mark.

Syntax

*permutemark entity type mark type

Type

HyperMesh Tcl Modify Command

Description

Permutes the entities on a mark.

Inputs

entity type
The type of entities contained on the mark.
mark
The ID of the mark which holds the entities to be permuted.
type
The type of action which should be taken:
  • 0 - Swap x with y
  • 1 - Swap x with z
  • 2 - Wwap y with z

Example

To permute elements 10, 11, and 12 switching the x and y values:

*createmark elements 1 10 11 12
*permutemark elements 1 0 

*createmark() is required.

Errors

None.