*elementtestorthogonality
Tests 3D elements for whether or not they pass the orthogonality element quality check, and puts those that fail on the specified outputmark.
Syntax
*elementtestorthogonality entity_type input_mark_id orthogonality output_mark_id dimension contour title
Type
HyperMesh Tcl Modify Command
Description
Tests 3D elements for whether or not they pass the orthogonality element quality check, and puts those that fail on the specified outputmark.
Inputs
- entity_type
- The entity types to be checked. Currently, elements is the only allowable option.
- input_mark_id
- The mark that contains the elements to test.
- orthogonality
- The value to use as a threshold beyond which elements should be considered to have failed the test.
- output_mark_id
- The mark where HyperMesh should put the elements that fail the test.
- dimension
- A code telling to measure the dimension of:
- 4 - Measure 3D elements.
- contour
- A code telling if HyperMesh should:
- 0 - Display the results of the test normally.
- 1 - Display the elements color coded by their ratings.
- 2 - Build a histogram showing the distribution of ratings.
- title
- The title to label the curve in the histogram.
Examples
To test all displayed 3D elements for an orthogonality value less than 0.2:
*createmark elements 1 "displayed"
*createmark elements 2
*elementtestorthogonality elements 1 0.2 2 4 0 "3D Orthogonality")
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2019