*elementqualitydragtriaelem

Moves a tria element towards a specified point within the interactive cleanup tool.

Syntax

*elementqualitydragtriaelem elem_id px py pz merge_tria end

Type

HyperMesh Tcl Modify Command

Description

This command, within the interactive cleanup tool, moves a tria element towards a specified point.

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 tria element ID.
px py pz
Coordinates of a point that defines the drag direction.
merge_tria
0 - Do not merge trias when they are close together.
1 - Merge trias when they come close together.
end
0 - This is an intermediate movement and there are additional movements following this one.
1 - This is the last call of this command.

Example

To drag tria element 3 towards (5.7, 3.78, 991.0) using quality criteria from a file:
*readqualitycriteria c:/criteria/mycriteria.txt
*createmark elems 1 displayed
*elementqualitysetup 1
*elementqualitydragtriaelem 3 5.7 3.78 991.0 0 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