Point on Curves

Python: How do I get a user to select a single point from multiple curves. I know GetPointOnCurve gets a single point from a single curve. That’s not what I’m looking for. I want a single point from multiple curves. How do I do this? My best guess is to us GetPoint to get a single point which does not constrain by object type or object. Then, iterate through the curves I want to limit the point to and use IsPointOnCurve to detect if the point is on any of the curves. Is this the best way to do this?

Probably best to iterate through the curves and find the curve that is closest to the point returned by GetPoint.

https://developer.rhino3d.com/api/RhinoCommon/html/Overload_Rhino_Geometry_Curve_ClosestPoint.htm

– Dale