In python 2, if I want to get the optional output, I could use the strongbox in the clr module like:
Idcs = clr.StrongBox[Array[int]]()
dist = rg.Intersect.Intersection.MeshRay(mesh, ray, Idcs)
But in python 3, I get the error:
AttributeError: module 'clr' has no attribute 'StrongBox'
Is there a work around solution to get the optional outputs in Python 3?
2 posts - 2 participants