DiscussionsIssue archiveOther usage issues

Archived discussion

MoreSelected() doesn't return anything

Other usage issuesSun, 09/15/2013 - 12:542 replies

Browse this forum
QuestionAuthor

Hello,

I am trying to select a face, and apparently when using MoreSelected(),always says nothing is selected...
Why is this?

myContext->CloseAllContexts();
myContext->OpenLocalContext();
myContext->ActivateStandardMode (TopAbs_FACE);

myContext->InitSelected();
if (myContext->MoreSelected()) {
qDebug() } else {
qDebug() }

Discussion

2 archived replies

Posts are displayed in their archived order.

01Commenter-1

What version are you using? I use same code in v6.6 and it works fine. Are you using a OCC example? Does the selection get highlighted when you move the mouse?

02Commenter-2

Hi Billy,

I'm using 6.6 qt5 and selection does get highlighted when hovered