Model.surfacemarksplitwithsurface#
- Model.surfacemarksplitwithsurface(collection, surface)#
Splits a group of surfaces with another surface.
- Parameters:
collection (Collection) – The collection containing the surface entities to split.
surface (Entity) – The surface used to split the other surfaces.
Example#
Split the surfaces with IDs 10 and 20 with the surface with ID 5#import hm import hm.entities as ent model = hm.Model() model.surfacemarksplitwithsurface( collection=hm.Collection(model, ent.Surface, [10, 20]), surface=ent.Surface(model, 5), )