Model.splitelementswith1D#
- Model.splitelementswith1D(inferred, collection)#
Splits shell elements on all sides, along with all connected 1D elements.
- Parameters:
inferred (int) –
0 - Do not use an inferred surface if no geometry exists.
1 - Use an inferred surface if no geometry exists.
collection (Collection) – The collection containing the element entities to split.
Example#
Split elements with IDs 1 - 10 , along with all connected 1Ds#import hm import hm.entities as ent model = hm.Model() # Creating a collection that contains the elements with IDs 1-10 filter_elements = hm.FilterByEnumeration(ent.Element, list(range(1, 11))) elements_collection = hm.Collection(model, filter_elements) model.splitelementswith1D(inferred=0, collection=elements_collection)
Split elements with IDs 1 - 10 , along with all connected 1Ds , use an inferred surface#import hm import hm.entities as ent model = hm.Model() # Creating a collection that contains the elements with IDs 1-10 filter_elements = hm.FilterByEnumeration(ent.Element, list(range(1, 11))) elements_collection = hm.Collection(model, filter_elements) model.splitelementswith1D(inferred=1, collection=elements_collection)