NX Open C++ Reference Guide
|
For a rectangle deselection, the fields Deselection , MultipleSelection , Rectangle bits would be set. More...
Public Member Functions | |
SelectionDescriptor (bool selectionInitial, bool deselectionInitial, bool reselectionInitial, bool singleSelectionInitial, bool multipleSelectionInitial, bool singlePositionInitial, bool rectanglePositionInitial, bool nameSelectionInitial, bool rectangleInitial) | |
Constructor for the SelectionDescriptor struct. | |
Public Attributes | |
bool | Deselection |
deselection | |
bool | MultipleSelection |
multiple selection | |
bool | NameSelection |
name selection | |
bool | Rectangle |
rectangle | |
bool | RectanglePosition |
rectangle position | |
bool | Reselection |
reselection | |
bool | Selection |
selection | |
bool | SinglePosition |
single position | |
bool | SingleSelection |
single selection | |
For a rectangle deselection, the fields Deselection , MultipleSelection , Rectangle bits would be set.
For a name selection which selected one object, the fields SelectionDescriptor.Selection , SingleSelection , and NameSelection bits would be set. If a reselect was done (an object is selected and the previous object selected is deselected), only the field SelectionDescriptor.Reselection bit is set. The fields SingleSelection and MultipleSelection bits are not set for position. The field Rectangle bit is set for rectangle selection, rectangle deselection, and rectangle position. This function can be used with UIStyler dialogs and can be called from either the selection filter procedure or the selection callback.
NXOpen::Selection::SelectionDescriptor::SelectionDescriptor | ( | bool | selectionInitial, |
bool | deselectionInitial, | ||
bool | reselectionInitial, | ||
bool | singleSelectionInitial, | ||
bool | multipleSelectionInitial, | ||
bool | singlePositionInitial, | ||
bool | rectanglePositionInitial, | ||
bool | nameSelectionInitial, | ||
bool | rectangleInitial | ||
) |
Constructor for the SelectionDescriptor struct.
selectionInitial | selection |
deselectionInitial | deselection |
reselectionInitial | reselection |
singleSelectionInitial | single selection |
multipleSelectionInitial | multiple selection |
singlePositionInitial | single position |
rectanglePositionInitial | rectangle position |
nameSelectionInitial | name selection |
rectangleInitial | rectangle |
bool NXOpen::Selection::SelectionDescriptor::Deselection |
deselection
bool NXOpen::Selection::SelectionDescriptor::MultipleSelection |
multiple selection
bool NXOpen::Selection::SelectionDescriptor::NameSelection |
name selection
bool NXOpen::Selection::SelectionDescriptor::Rectangle |
rectangle
bool NXOpen::Selection::SelectionDescriptor::RectanglePosition |
rectangle position
bool NXOpen::Selection::SelectionDescriptor::Reselection |
reselection
bool NXOpen::Selection::SelectionDescriptor::Selection |
selection
bool NXOpen::Selection::SelectionDescriptor::SinglePosition |
single position
bool NXOpen::Selection::SelectionDescriptor::SingleSelection |
single selection