Model.elempatchprevaction#
- Model.elempatchprevaction()#
Oves to the previous failed element patch in the QI patch checker patch.
This function only functions between a
Model.elempatchstartaction()function and aModel.elempatchstopaction()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)