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

For a rectangle deselection, the fields Deselection , MultipleSelection , Rectangle bits would be set. More...

List of all members.

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

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

deselection

multiple selection

name selection

rectangle

rectangle position

reselection

selection

single position

single selection


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