DiscussionsIssue archiveOther usage issues

Archived discussion

Just select curves in Neutral Point

Other usage issuesFri, 10/15/2004 - 04:301 reply

Browse this forum
QuestionAuthor

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.

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

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

Good luck,
Commenter-1.