Model.elementqualitysetup_new#
- Model.elementqualitysetup_new(collection)#
Prepares a collection of elements for use within the interactive element cleanup tool. Interacts closely with the other
Model.elementquality()functions, and cannot function separately from them. It must be accompanied by a correspondingModel.elementqualityshutdown()function.- Parameters:
collection (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_new(elementcollection=elements) ''' In this point there are supossed to be excecuted varius Model.elementquality functions ''' model.elementqualityshutdown(dontsaveflag=0)