Model.getunmeshedsurfstomark#
- Model.getunmeshedsurfstomark(collection)#
Places displayed, unmeshed surfaces on the specified mark. This uses only basic logic to find surfaces that do not have associated nodes.
- Parameters:
collection (Collection) – The collection containing the unmeshed surface entities.
Example#
Find all unmeshed surfaces#import hm import hm.entities as ent model = hm.Model() """ Supposing we are having a model with surface entities, we will try to find the unmeshed ones by checking all of them. So after create a collection of all of them we insert them in model.getunmeshedsurfstomark(). """ surface_collection = hm.Collection(model, ent.Surface) model.getunmeshedsurfstomark(collection=surface_collection)