hm_compareinit

Initializes the comparison module.

Syntax

hm_compareinit

Type

HyperMesh Tcl Query Command

Description

Initializes the comparison module. This must precede any calls to other hm_compare* APIs, and must be followed by a call to hm_compareend.

Any database changes made while inside of the compare module will invalidate and delete any comparison results.

Example

To write the detailed comparison results file to C:/temp/my_compare.txt for the same side comparison of surfs 1-20 and 101-120:

*createmark surfs 1 1-20
*createmark surfs 2 101-120
hm_compareinit
hm_compareentitiessameside surfs 1 surfs 2 0.1 2 0
hm_comparewriteresults C:/temp/my_compare.txt
hm_compareend

Errors

None.

Version History

12.0