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.

Fields

Field Description
Selection  
Deselection  
Reselection  
SingleSelection  
MultipleSelection  
SinglePosition  
RectanglePosition  
NameSelection  
Rectangle  

Selection

SelectionSelectionDescriptor_Struct.Selection

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

Getter Method Signature Selection()

Returns:
Return type:bool

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

Setter Method

Signature Selection(value)

Parameters:value (bool) –

Deselection

SelectionSelectionDescriptor_Struct.Deselection

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

Getter Method Signature Deselection()

Returns:
Return type:bool

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

Setter Method

Signature Deselection(value)

Parameters:value (bool) –

Reselection

SelectionSelectionDescriptor_Struct.Reselection

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

Getter Method Signature Reselection()

Returns:
Return type:bool

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

Setter Method

Signature Reselection(value)

Parameters:value (bool) –

SingleSelection

SelectionSelectionDescriptor_Struct.SingleSelection

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

Getter Method Signature SingleSelection()

Returns:
Return type:bool

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

Setter Method

Signature SingleSelection(value)

Parameters:value (bool) –

MultipleSelection

SelectionSelectionDescriptor_Struct.MultipleSelection

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

Getter Method Signature MultipleSelection()

Returns:
Return type:bool

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

Setter Method

Signature MultipleSelection(value)

Parameters:value (bool) –

SinglePosition

SelectionSelectionDescriptor_Struct.SinglePosition

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

Getter Method Signature SinglePosition()

Returns:
Return type:bool

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

Setter Method

Signature SinglePosition(value)

Parameters:value (bool) –

RectanglePosition

SelectionSelectionDescriptor_Struct.RectanglePosition

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

Getter Method Signature RectanglePosition()

Returns:
Return type:bool

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

Setter Method

Signature RectanglePosition(value)

Parameters:value (bool) –

NameSelection

SelectionSelectionDescriptor_Struct.NameSelection

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

Getter Method Signature NameSelection()

Returns:
Return type:bool

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

Setter Method

Signature NameSelection(value)

Parameters:value (bool) –

Rectangle

SelectionSelectionDescriptor_Struct.Rectangle

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

Getter Method Signature Rectangle()

Returns:
Return type:bool

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

Setter Method

Signature Rectangle(value)

Parameters:value (bool) –