SOLVED UV params for Surface.ClosestPoint with Python?

Hey,
I’m having issues getting at the UV surface params for the Surface.ClosestPoint using the GHPython component. Calling the method on my surface returns a point3d in the global coordinate system, not a uv-param of the surface.

In the C# example the U and V params appears to be tied to the “out” keyword. How do I handle that in python?

Alright, forget my question. I had been calling the ClosestPoint on a brep instead of a surface and now all works just as it should. Also I found this link on calling C# functions using the ‘out’ keyword from IronPython, might be helpful for someone as confused as I must be :stuck_out_tongue::
http://www.voidspace.org.uk/ironpython/dark-corners.shtml#out-and-ref-parameters

Many thanks

Jakob