DiscussionsIssue archiveOther usage issues

Archived discussion

SelectRectangle cannot pick Bnd_Box with negative coordinates along the Z-axis

Other usage issuesWed, 12/18/2024 - 12:001 reply

Browse this forum
QuestionAuthor

AIS_InteractiveContext::SelectRectangle(_min, _max, _view, AIS_SelectionScheme_Replace)

I try to rect select on X-Y plain using SelectRectangle, _min and _max are converted from World location. I cannot select object whose Bnd_Box has negative coordinates along the Z-axis.

For example

object bounding box: Min(338.25, 64.2159, -0.209292) Max(448.668, 174.634, 2900.21)
this object cannot be selected

object bounding box: Min(338.25, 64.2159, 0.209292) Max(448.668, 174.634, 2900.21)
this object can be selected

what matters with this? How to set Camera of View to make it?

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

Your View direction is Positive, That is why you have issue with Selecting the objects within the bound box....