Model.elementtestfree1d#

Model.elementtestfree1d(collection, output_collection_set)#

Tests 1D elements for free nodes.

Parameters:
  • collection (Collection) – The collection containing the element entities to be returned.

  • output_collection (Collection) – The set of collections containing the failed elements or nodes.

Example#

Test all displayed elements to find the free 1D elements#
import hm
import hm.entities as ent

model = hm.Model()

elems1 = model.CreateCollectionByDisplayed(ent.Element)
elems2 = hm.Collection(model, hm.FilterByEnumeration(ent.Element, ids=hm.hwUIntList([])))

model.elementtestfree1d(
    collection=elems1,
    output_collection=elems2
)