Model.icelementcreate#

Model.icelementcreate()#

Creates an IC element. Model.addicconnectivity() and Model.modifyicelement() can be used to add additional details or modify the element.

Example#

Create an IC element and update the independent node to ID 15, and dependent nodes to ID [16,17,18,19] with DOF’s [123, 345, 1234, 123456]#
import hm
import hm.entities as ent

model = hm.Model()

# Create an IC element
model.icelementcreate()

model.addicconnectivity(
    entity=ent.Element(model, 1),
    inode_entity=ent.Node(model, 15),
    dependency_array=[[16, 17, 18, 19], [123, 345, 1234, 123456]],
)