Model.hm_comparesetflags#
- Model.hm_comparesetflags(flag=0)#
If enabled, the comparison module will cache extra pairwise data while performing comparisons between source and target. This must be preceded by a call to a relevant hm_compareentities function.
- Parameters:
flag (int) –
0 - Do not save pairwise data (default, legacy behavior)
1 - Save pairwise data
- Returns:
hwReturnStatus- Status object
Example#
Compare assembly 1 to assembly 2 and query the area of component with ID 10#import hm import hm.entities as ent model = hm.Model()