SelPref Class¶
-
class
NXOpen.Display.SelPref¶ Bases:
NXOpen.BuilderRepresents a
NXOpen.Display.SelPrefTo 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
DelayReturns: Return type: int New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DelayParameters: 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
FaceAnalysisViewsTypeReturns: Return type: NXOpen.Display.SelPrefFaceAnalysisViewsNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FaceAnalysisViewsTypeParameters: 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
HighlightOriginalToggleReturns: Return type: bool New in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
HighlightOriginalToggleParameters: 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
HighlightSelectionOnRolloverToggleReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
HighlightSelectionOnRolloverToggleParameters: 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
HighlightWithThickWidthToggleReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
HighlightWithThickWidthToggleParameters: highlightWithThickWidthToggle (bool) – New in version NX5.0.0.
License requirements: None.
MethodType¶
-
SelPref.MethodType¶ Returns or sets the method type
-------------------------------------Getter Method
Signature
MethodTypeReturns: Return type: NXOpen.Display.SelPrefMethodNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MethodTypeParameters: 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
MouseGestureTypeReturns: Return type: NXOpen.Display.SelPrefMouseGestureNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MouseGestureTypeParameters: 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
QuickPickLockDialogPositionReturns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
QuickPickLockDialogPositionParameters: 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
QuickPickOnDelayToggleReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
QuickPickOnDelayToggleParameters: quickPickOnDelayToggle (bool) – New in version NX5.0.0.
License requirements: None.
RolloverDelay¶
-
SelPref.RolloverDelay¶ Returns or sets the rollover delay
-------------------------------------Getter Method
Signature
RolloverDelayReturns: Return type: int New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
RolloverDelayParameters: rolloverDelay (int) – New in version NX5.0.0.
License requirements: None.
SelectionRadiusType¶
-
SelPref.SelectionRadiusType¶ Returns or sets the selection radius type
-------------------------------------Getter Method
Signature
SelectionRadiusTypeReturns: Return type: NXOpen.Display.SelPrefSelectionRadiusNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SelectionRadiusTypeParameters: 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
SelectionRuleTypeReturns: Return type: NXOpen.Display.SelPrefSelectionRuleNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SelectionRuleTypeParameters: 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
ShadedViewsTypeReturns: Return type: NXOpen.Display.SelPrefShadedViewsNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ShadedViewsTypeParameters: 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
ShowCrosshairsToggleReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ShowCrosshairsToggleParameters: showCrosshairsToggle (bool) – New in version NX5.0.0.
License requirements: None.
Tolerance¶
-
SelPref.Tolerance¶ Returns or sets the tolerance
-------------------------------------Getter Method
Signature
ToleranceReturns: Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ToleranceParameters: 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
TooltipOnRolloverToggleReturns: Return type: bool New in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TooltipOnRolloverToggleParameters: 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.