Model.elementqualitysetup#
- Model.elementqualitysetup(elementcollection)#
Prepares a collection of elements for use within the interactive element cleanup tool.
- Parameters:
elementcollection (Collection) – The collection containing the element entities to be modified.
Example#
Select all displayed elements to be used by anotherModel.elementquality()function#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)
Note
Interacts closely with the other Model.elementquality() functions, and cannot function separately from them. It must be accompanied by a corresponding Model.elementqualityshutdown() function.