Intersection.MeshRay with meshFaceIndices Overload using GHPython

I checked, and this really seems to be the only way to call that method.

Usually for C# out parameters there’s the alternative to omit the parameter and expect a tuple, but in this case the overload is hidden by the existence of the 2-arguments method.

All I can say, is that you can also write clr.Reference[Array[int]](), which is the way they refer to this in the docs. StrongBox and Reference are analogues.

Thanks,

Giulio


Giulio Piacentino
for Robert McNeel & Associates
giulio@mcneel.com

3 Likes