SelPref Class¶
-
class
NXOpen.Display.
SelPref
¶ Bases:
NXOpen.Builder
Represents a
NXOpen.Display.SelPref
To obtain a instance of this class use
Display.SelPrefCollection.CreateSelPref()
New in version NX5.0.0.
Properties¶
Property | Description |
---|---|
Delay | Returns or sets the delay |
FaceAnalysisViewsType | Returns or sets the face analysis views type |
HighlightHiddenEdgesToggle | Returns or sets the highlight hidden edges toggle |
HighlightOriginalToggle | Returns or sets the highlight original |
HighlightSelectionOnRolloverToggle | Returns or sets the highlight selection on rollover toggle |
HighlightWithThickWidthToggle | Returns or sets the highlight with thick width toggle |
MethodType | Returns or sets the method type |
MouseGestureType | Returns or sets the mouse gesture type |
QuickPickLockDialogPosition | Returns or sets the quick pick lock dialog position |
QuickPickOnDelayToggle | Returns or sets the quick pick on delay toggle |
RolloverDelay | Returns or sets the rollover delay |
SelectionRadiusType | Returns or sets the selection radius type |
SelectionRuleType | Returns or sets the selection rule type |
ShadedViewsType | Returns or sets the shaded views type |
ShowCrosshairsToggle | Returns or sets the show crosshairs toggle |
Tag | Returns the Tag for this object. |
Tolerance | Returns or sets the tolerance |
TooltipOnRolloverToggle | Returns or sets the tooltip on rollover toggle |
Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
Destroy | Deletes the builder, and cleans up any objects created by the builder. |
GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
GetObject | Returns the object currently being edited by this builder. |
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
SelPrefFaceAnalysisViews Enumeration | Represents the face analysis views type |
SelPrefMethod Enumeration | Represents the chaining method type |
SelPrefMouseGesture Enumeration | Represents the mouse gesture type |
SelPrefSelectionRadius Enumeration | Represents the selection radius type |
SelPrefSelectionRule Enumeration | Represents the selection rule type |
SelPrefShadedViews Enumeration | Represents the shaded views type |
Property Detail¶
Delay¶
-
SelPref.
Delay
¶ Returns or sets the delay
-------------------------------------
Getter Method
Signature
Delay
Returns: Return type: int New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Delay
Parameters: delay (int) – New in version NX5.0.0.
License requirements: None.
FaceAnalysisViewsType¶
-
SelPref.
FaceAnalysisViewsType
¶ Returns or sets the face analysis views type
-------------------------------------
Getter Method
Signature
FaceAnalysisViewsType
Returns: Return type: NXOpen.Display.SelPrefFaceAnalysisViews
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
FaceAnalysisViewsType
Parameters: faceAnalysisViewsType ( NXOpen.Display.SelPrefFaceAnalysisViews
) –New in version NX5.0.0.
License requirements: None.
HighlightOriginalToggle¶
-
SelPref.
HighlightOriginalToggle
¶ Returns or sets the highlight original
-------------------------------------
Getter Method
Signature
HighlightOriginalToggle
Returns: Return type: bool New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
HighlightOriginalToggle
Parameters: highlightOriginalToggle (bool) – New in version NX8.0.0.
License requirements: None.
HighlightSelectionOnRolloverToggle¶
-
SelPref.
HighlightSelectionOnRolloverToggle
¶ Returns or sets the highlight selection on rollover toggle
-------------------------------------
Getter Method
Signature
HighlightSelectionOnRolloverToggle
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
HighlightSelectionOnRolloverToggle
Parameters: highlightSelectionOnRolloverToggle (bool) – New in version NX5.0.0.
License requirements: None.
HighlightWithThickWidthToggle¶
-
SelPref.
HighlightWithThickWidthToggle
¶ Returns or sets the highlight with thick width toggle
-------------------------------------
Getter Method
Signature
HighlightWithThickWidthToggle
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
HighlightWithThickWidthToggle
Parameters: highlightWithThickWidthToggle (bool) – New in version NX5.0.0.
License requirements: None.
MethodType¶
-
SelPref.
MethodType
¶ Returns or sets the method type
-------------------------------------
Getter Method
Signature
MethodType
Returns: Return type: NXOpen.Display.SelPrefMethod
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MethodType
Parameters: methodType ( NXOpen.Display.SelPrefMethod
) –New in version NX5.0.0.
License requirements: None.
MouseGestureType¶
-
SelPref.
MouseGestureType
¶ Returns or sets the mouse gesture type
-------------------------------------
Getter Method
Signature
MouseGestureType
Returns: Return type: NXOpen.Display.SelPrefMouseGesture
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MouseGestureType
Parameters: mouseGestureType ( NXOpen.Display.SelPrefMouseGesture
) –New in version NX5.0.0.
License requirements: None.
QuickPickLockDialogPosition¶
-
SelPref.
QuickPickLockDialogPosition
¶ Returns or sets the quick pick lock dialog position
-------------------------------------
Getter Method
Signature
QuickPickLockDialogPosition
Returns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
QuickPickLockDialogPosition
Parameters: quickPickLockDialogPosition (bool) – New in version NX8.5.0.
License requirements: None.
QuickPickOnDelayToggle¶
-
SelPref.
QuickPickOnDelayToggle
¶ Returns or sets the quick pick on delay toggle
-------------------------------------
Getter Method
Signature
QuickPickOnDelayToggle
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
QuickPickOnDelayToggle
Parameters: quickPickOnDelayToggle (bool) – New in version NX5.0.0.
License requirements: None.
RolloverDelay¶
-
SelPref.
RolloverDelay
¶ Returns or sets the rollover delay
-------------------------------------
Getter Method
Signature
RolloverDelay
Returns: Return type: int New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
RolloverDelay
Parameters: rolloverDelay (int) – New in version NX5.0.0.
License requirements: None.
SelectionRadiusType¶
-
SelPref.
SelectionRadiusType
¶ Returns or sets the selection radius type
-------------------------------------
Getter Method
Signature
SelectionRadiusType
Returns: Return type: NXOpen.Display.SelPrefSelectionRadius
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SelectionRadiusType
Parameters: selectionRadiusType ( NXOpen.Display.SelPrefSelectionRadius
) –New in version NX5.0.0.
License requirements: None.
SelectionRuleType¶
-
SelPref.
SelectionRuleType
¶ Returns or sets the selection rule type
-------------------------------------
Getter Method
Signature
SelectionRuleType
Returns: Return type: NXOpen.Display.SelPrefSelectionRule
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SelectionRuleType
Parameters: selectionRuleType ( NXOpen.Display.SelPrefSelectionRule
) –New in version NX5.0.0.
License requirements: None.
ShadedViewsType¶
-
SelPref.
ShadedViewsType
¶ Returns or sets the shaded views type
-------------------------------------
Getter Method
Signature
ShadedViewsType
Returns: Return type: NXOpen.Display.SelPrefShadedViews
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ShadedViewsType
Parameters: shadedViewsType ( NXOpen.Display.SelPrefShadedViews
) –New in version NX5.0.0.
License requirements: None.
ShowCrosshairsToggle¶
-
SelPref.
ShowCrosshairsToggle
¶ Returns or sets the show crosshairs toggle
-------------------------------------
Getter Method
Signature
ShowCrosshairsToggle
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ShowCrosshairsToggle
Parameters: showCrosshairsToggle (bool) – New in version NX5.0.0.
License requirements: None.
Tolerance¶
-
SelPref.
Tolerance
¶ Returns or sets the tolerance
-------------------------------------
Getter Method
Signature
Tolerance
Returns: Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Tolerance
Parameters: tolerance (float) – New in version NX5.0.0.
License requirements: None.
TooltipOnRolloverToggle¶
-
SelPref.
TooltipOnRolloverToggle
¶ Returns or sets the tooltip on rollover toggle
-------------------------------------
Getter Method
Signature
TooltipOnRolloverToggle
Returns: Return type: bool New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TooltipOnRolloverToggle
Parameters: tooltipOnRolloverToggle (bool) – New in version NX8.0.0.
License requirements: None.
Method Detail¶
Validate¶
-
SelPref.
Validate
¶ Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.
Signature
Validate()
Returns: Was self validation successful Return type: bool New in version NX3.0.1.
License requirements: None.