Hi,
I have a model of lines.
I made point at the crossing location of lines using the option

and finally the model is as shown below.

Now i am trying to write a tcl program to split these lines at these points using a for loop.
the code i try to make is as below.
*createmark lines 1 "displayed";
*createmark points 1 "displayed";
set LineList [hm_getmark lines 1];
set PointList [hm_getmark points 1];
foreach LineId $LineList {
foreach PointId $PointList {
*linesplitatpoint $PointId 1;
}
}
this code has some error, Please help me to Fix this code.
Thank You