Model.xelem_bysetid#

Model.xelem_bysetid(node_set_id)#

Creates a new element (/XELEM) of config 27 and type 1 using a node set. This is currently only supported for Radioss.

Parameters:

node_set_id (int) – The ID of the node set to create the element from. The set must be an ordered node set of type /GRNOD/NODENS, and must contain at least two nodes.

Example#

Create an * * /XELEM * * element with ordered node set of ID 5#
import hm
import hm.entities as ent

model = hm.Model()

model.xelem_bysetid(node_set_id=5)