Model.linesplitatpoint#
- Model.linesplitatpoint(line, node)#
Splits a line at an arbitrary point.
- Parameters:
line (Entity) – The line entity to be split.
node (Entity) – The node entity which represents the location on the line where it should be split.
Example#
Split the line with ID 10 at node with ID 3#import hm import hm.entities as ent model = hm.Model() model.linesplitatpoint(line=ent.Line(model, 10), node=ent.Node(model, 3))