Model.hm_morph_getinfo_excludedelements_mark#
- Model.hm_morph_getinfo_excludedelements_mark(collection)#
Returns nothing, but all excluded elements will be placed on specified collection.
- Parameters:
collection (Collection) – The collection containing the element entities where all excluded elements will be placed.
- Returns:
hwReturnStatus- Status object
Example#
Put all excluded element to a collection of elements#import hm import hm.entities as ent model = hm.Model() excludedElements = hm.Collection(model, ent.Element, populate=False) model.hm_morph_getinfo_excludedelements_mark(collection=excludedElements) print("Excluded Element IDs:", [elem.id for elem in excludedElements])