Get edges of a polyline/polylinecurve of a single object

Hi,

I need to select some of the edges of a polyline or polylinecurve from the command line. Only the edges of the specified poly must be selectable. Is this doable with a GetObject, or do I need to explode the poly? If I need to explode it, how can I filter the selectable objects to only those edges?

Thanks.

I’m not sure I understand what you mean by “edges”, as polylines and polycurves don’t have edges. Are you trying to pick portions of these curves, or segments within these curves?

— Dale

Oh, I mean segments. Just to make sure the rest is clear, the user should be prompted to select the segments of a given polyline or polycurve and the user should not be able to select anything else except those segments of that specific polyline or polycurve.