hm_comparefinddistances
Calculates the distance between all source and target entities.
Syntax
hm_comparefinddistances max_distance review_results
Type
HyperMesh Tcl Query
Description
Calculates the distance between all source and target entities. This must be preceded by a call to a relevant hm_compareentities* command. Only the distances for the target entities are calculated. The results can be contoured or queried.
Inputs
- max_distance
- The maximum distance to use in the calculation. A smaller value results in faster computation time.
- review_results
- 0 - Do not automatically show the graphical comparison results after execution.
Example
To generate a contour of the distance results for a same side comparison of elems 1-20 and 101-120:
*createmark elems 1 1-20
*createmark elems 2 101-120
hm_compareinit
hm_compareentitiessameside surfs 1 surfs 2 0.1 2 0
hm_comparefinddistances 1.0 1
hm_comparesetreview 2
hm_compareend
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
12.0