Get plane of curve using GhPython

Hi all,

I’m trying to develop some custom nodes in Python, but falling at the first hurdle in most places! Firstly I’m trying to find the plane of two lists of curves. The curves in the first list are referenced Rhino curves whereas the curves in the second list are created in Grasshopper. The rs.iscurveplanar(x) command doesn’t seem to work as it wants a GUID rather than a curve object.

Thanks!

Matt

I think if you set the x input as Item or List Access, it should work.

Don’t set the type hint for x.

on the input parameter you can set the access type and type hints

Just setting it to loop through seems to have solved this