Model.elementqualityshutdown#

Model.elementqualityshutdown(dontsaveflag)#

Closes down a session of the interactive element cleanup tool.

Parameters:

dontsaveflag (int) – A nonzero value tells the system that it should not transfer your changes from within the element cleanup tool to the permanent database.

Example#

Close down a session of interactive elements ‘ cleanup#
import hm
import hm.entities as ent

model = hm.Model()

elements = hm.Collection(model, hm.FilterByEnumeration(ent.Element, ids=[10,11,12,13,14,15,16]))
model.elementqualitysetup(elementcollection=elements)
'''
In this point there are supossed to be excecuted varius model.elementquality functions
'''
model.elementqualityshutdown(dontsaveflag=0)