Model.morphcreatetempline#

Model.morphcreatetempline(points)#

Creates a line entity for a given node list

Parameters:

points (int) – The list of the node entities.

Example#

Create a line entity of the nodes with IDs 1, 2 and 3#
import hm
import hm.entities as ent

model = hm.Model()

model.morphcreatetempline(
    points=[ent.Node(model, 1), ent.Node(model, 2), ent.Node(model, 3)]
)

Note

Although the name of this function is “temporary”, the line is not automatically deleted.