Select object in coordinates


Im new at scripting.and need your help.
How do i select a crv when i know only know its coordinates?


What are the “coordinates” of a curve? Start point? End point? Some point somewhere on the curve?

Its a horizontal crv and i know the Z height and and an approx bounding box in the YXplane

Well, here is an existing script from my library that maybe will help as a guide, it selects all the curves in a given range of Z-levels. (1.6 KB)

I’ll have a look