MoreSelected() doesn't return anything


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

myContext->ActivateStandardMode (TopAbs_FACE);

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

Billy's picture

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?

Daniel Park's picture

Hi Billy,

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