*elementqualitycollapseedge

Collapses an edge between two elements.

Syntax

*elementqualitycollapseedge elem_id edge_index

Type

HyperMesh Tcl Modify Command

Description

This command collapses an edge between two elements.

This command only functions between an *elementqualitysetup command and an *elementqualityshutdown command.

Current element quality criteria for optimization must be set before using this command. The command may be applied at any time without resetting the current quality criteria.

Inputs

elem_id
The element ID.
edge_index
The index of the edge to collapse.

Example

To collapse edge 1 for element 20 using quality criteria from a file:
*readqualitycriteria c:/criteria/mycriteria.txt
*createmark elems 1 displayed
*elementqualitysetup 1
*elementqualitycollapseedge 20 1
*elementqualityshutdown 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

13.0