
Fri, 10/15/2004 - 04:30
Forums:
If we want to select curves,we can open local context
and Set Selection mode to edge,
myAISContext->ActivateStandardMode(TopAbs_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.
Fri, 10/15/2004 - 14:55
Hi Hom,
just add a filter on edge on your context:
myContext->AddFilter(new StdSelect_ShapeTypeFilter(TopAbs_EDGE));
Good luck,
Francois.