Model.hm_getunmeshedsurfstomark#

Model.hm_getunmeshedsurfstomark(inputSurfCollection, outputSurfCollection)#

Places the unmeshed surfaces from the input collection onto the output collection.

Parameters:
  • inputSurfCollection (Collection) – The collection containing the entities containing the input surfaces to consider.

  • outputSurfCollection (Collection) – The collection containing the entities containing the unmeshed surfaces.

Returns:

Example#

Find the unmeshed surfaces from component with ID 200 and place them on output collection#
import hm
import hm.entities as ent

model = hm.Model()

comps = hm.Collection(model, ent.Component, [200])
filter = hm.FilterByCollection(ent.Surface, ent.Component)
surfs = hm.Collection(model, filter, comps)

output_surfs = hm.Collection(model, ent.Surface, populate=False)

model.hm_getunmeshedsurfstomark(
    inputSurfCollection=surfs,
    outputSurfCollection=output_surfs
)