Model.elementtestdependancy#
- Model.elementtestdependancy(collection, outputcollection)#
Tests 1D weld and rigid elements for double dependencies and puts those that fail on the specified
outputcollection.- Parameters:
collection (Collection) – The collection containing the element entities to test.
outputcollection (Collection) – The collection containing the failed element entities.
Example#
Test dependancy of all displayed 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.elementtestdependancy(collection=elems1, outputcollection=elems2)