Intersection of surfaces and lines

Best Answer
-
Hi Rachit,
I would investigate using the HM TCL command hm_getclosestpointsbetweenlinesurface.
It takes as input a line ID and surface ID. If the line intersects the surface, it will return the intersection point(s) as a list of values in groups of 6. If it does not intersect, it will return the closest point on the line and the closest point on the surface as well as the length (7 values). You can refer the documentation for more info.
Thanks,
Rob H.
0
Answers
-
Hi Rachit,
I would investigate using the HM TCL command hm_getclosestpointsbetweenlinesurface.
It takes as input a line ID and surface ID. If the line intersects the surface, it will return the intersection point(s) as a list of values in groups of 6. If it does not intersect, it will return the closest point on the line and the closest point on the surface as well as the length (7 values). You can refer the documentation for more info.
Thanks,
Rob H.
0 -
Robert Hoglund said:
Hi Rachit,
I would investigate using the HM TCL command hm_getclosestpointsbetweenlinesurface.
It takes as input a line ID and surface ID. If the line intersects the surface, it will return the intersection point(s) as a list of values in groups of 6. If it does not intersect, it will return the closest point on the line and the closest point on the surface as well as the length (7 values). You can refer the documentation for more info.
Thanks,
Rob H.
Thanks @Robert Hoglund, it worked as I desired.
Regards,
Rachit.
0