SelectionSelectionDescriptor_Struct Struct

NXOpen.Selection.SelectionDescriptor is an alias for NXOpen.SelectionSelectionDescriptor_Struct

class NXOpen.SelectionSelectionDescriptor_Struct

Bases: object

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: NXOpen.Selection.SelectionDescriptor()

Fields

Field Description
Selection  
Deselection  
Reselection  
SingleSelection  
MultipleSelection  
SinglePosition  
RectanglePosition  
NameSelection  
Rectangle  

Selection

SelectionSelectionDescriptor_Struct.Selection

-------------------------------------

Field Value Type:bool

Deselection

SelectionSelectionDescriptor_Struct.Deselection

-------------------------------------

Field Value Type:bool

Reselection

SelectionSelectionDescriptor_Struct.Reselection

-------------------------------------

Field Value Type:bool

SingleSelection

SelectionSelectionDescriptor_Struct.SingleSelection

-------------------------------------

Field Value Type:bool

MultipleSelection

SelectionSelectionDescriptor_Struct.MultipleSelection

-------------------------------------

Field Value Type:bool

SinglePosition

SelectionSelectionDescriptor_Struct.SinglePosition

-------------------------------------

Field Value Type:bool

RectanglePosition

SelectionSelectionDescriptor_Struct.RectanglePosition

-------------------------------------

Field Value Type:bool

NameSelection

SelectionSelectionDescriptor_Struct.NameSelection

-------------------------------------

Field Value Type:bool

Rectangle

SelectionSelectionDescriptor_Struct.Rectangle

-------------------------------------

Field Value Type:bool