Model.elempatchstopaction#
- Model.elempatchstopaction()#
Stops the QI patch checker.
This function only functions between a
Model.elementqualitysetup()function and aModel.elementqualityshutdown()function.Example#
Start the patch checker and move through several patches , change the patch size , while use quality criteria given from a file#import hm import hm.entities as ent model = hm.Model() model.readqualitycriteria(file_name="c:/criteria/mycriteria.txt") elementcollection = model.CreateCollectionByDisplayed(ent.Element) model.elementqualitysetup(elementcollection=elementcollection) model.elempatchstartaction(patch_type=0, threshold=1.0) model.elempatchnextaction() model.elempatchnextaction() model.elempatchincraction() model.elempatchprevaction() model.elempatchdecraction() model.elempatchstopaction() model.elementqualityshutdown(dontsaveflag=1)