Model.morphsetsmoothignoredelems#
- Model.morphsetsmoothignoredelems(collection)#
Assigns elements to be ignored when performing element test criteria for shape combination checking via
Model.morphshapesmooth(). Note that the excluded elements are retained in memory until this function is used to clear or change them, or until a new model is loaded.- Parameters:
collection (Collection) – The collection containing the element entities to ignore.
Example#
Set all elements in the component boundary to be ignored#import hm import hm.entities as ent model = hm.Model() components_collection = hm.Collection(model, ent.Component, "name=boundary") elements_collection = hm.Collection(model, ent.Element, components_collection) model.morphsetsmoothignoredelems(collection=elements_collection)