I am trying to establish if a Line intersects with a Mesh but I get the error -

*Warning: Geometry.DoesIntersect expects argument type(s) (Geometry, Geometry), but was called with (Autodesk.DesignScript.Geometry.Mesh, Autodesk.DesignScript.Geometry.Line[]).*

Why does this fail? It will work if I use a PolySurface and Line, is the Mesh not geometry?

Thanks in advance.

Gil