rs.LinePlaneIntersection buggy?

One of our modelers gave me this script. When you uncomment the “rs.LinePlaneIntersection” line, you get a “Message: Could not convert [guid] to a list of points” error, using rs.PlaneCurveIntersection everything w orks as intended.
example.3dm (42.2 KB) (1.6 KB)

Hi @rgr,

The first parameter to LinePlaneIntersection needs to be two 3D points identifying the starting and ending points of the line to intersect. You code is passing in the GUID if the newly added line curve.

– Dale

1 Like

Hello @dale

Thank you, what a simple oversight then.