NX Open C++ Reference Guide
Public Member Functions | Public Attributes | List of all members
NXOpen::Selection::SelectionDescriptor Struct Reference

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. More...
 

Public Attributes

bool Deselection
 deselection More...
 
bool MultipleSelection
 multiple selection More...
 
bool NameSelection
 name selection More...
 
bool Rectangle
 rectangle More...
 
bool RectanglePosition
 rectangle position More...
 
bool Reselection
 reselection More...
 
bool Selection
 selection More...
 
bool SinglePosition
 single position More...
 
bool SingleSelection
 single selection More...
 

Detailed Description

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.

Constructor & Destructor Documentation

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.

Parameters
selectionInitialselection
deselectionInitialdeselection
reselectionInitialreselection
singleSelectionInitialsingle selection
multipleSelectionInitialmultiple selection
singlePositionInitialsingle position
rectanglePositionInitialrectangle position
nameSelectionInitialname selection
rectangleInitialrectangle

Member Data Documentation

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


The documentation for this struct was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.