Model.refineelementsbysize#
- Model.refineelementsbysize(collection, maxlength)#
Refine elements to target element size.
- Parameters:
collection (Collection) – The collection containing the element entities to refine.
maxlength (double) – The maximum element edge size.
Example#
Refine the specified elements to target element size#import hm import hm.entities as ent model = hm.Model() model.refineelementsbysize( collection=hm.Collection(model, ent.Element, [12, 16, 106, 107, 108, 109]), maxlength=0.1, )