Just select curves in Neutral Point

If we want to select curves,we can open local context
and Set Selection mode to edge,
but we may select a subshape of some shape
(ex. a boundary curve of a surface),
this is not whaht i want.
Is it possible that i just set selection mode to edge
in neutral point?
or Is there any way to select curves without selecting subshape?

thanks for any response.

Francois Lauzon's picture

Hi Hom,
just add a filter on edge on your context:
myContext->AddFilter(new StdSelect_ShapeTypeFilter(TopAbs_EDGE));

Good luck,