hm_comparegettransformationmatchtype
Returns the type of a specific transformation and match.
Syntax
hm_comparegettransformationmatchtype transformation_index match_index
Type
HyperMesh Tcl Query Command
Description
- 0 - Unmatches
- 1 - Topological
- 2 - Intersected
- 3 - Overlapped
- 4 - Matched
Inputs
- transformation_index
- The index of the transformation to query, starting with 0. The number of transformations can be found using hm_comparegettransformationcount.
- match_index
- The index of the match corresponding to the transformation_index to query, starting with 0. The number of matches can be found using hm_comparegettransformationmatchcount.
Example
*createmark surfs 1 1-20
*createmark surfs 2 101-120
hm_compareinit
hm_compareentitiesrecursive surfs 1 surfs 2 0.1 2 0
set match_type [hm_comparegettransformationmatchtype 0 5]
hm_compareend
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
12.0