Model.element1dswitch#

Model.element1dswitch(collection)#

Switches the order of 1D element nodes.

Parameters:

collection (Collection) – The collection containing the 1D element entities to switch.

Example#

Switch the node order of 1D elements with IDs 5 - 10#
import hm
import hm.entities as ent

model = hm.Model()

elems = hm.Collection(model, ent.Element, list(range(5,11)))
model.element1dswitch(collection=elems)