ObjectColorPicker Class¶
-
class
NXOpen.BlockStyler.ObjectColorPicker¶ Bases:
NXOpen.BlockStyler.UIBlockRepresents an Object Color Picker Block
New in version NX8.5.0.
Properties¶
| Property | Description |
|---|---|
| BalloonTooltipImage | Returns or sets the BalloonTooltipImage |
| BalloonTooltipLayoutAsString | Returns or sets the BalloonTooltipLayout as string |
| BalloonTooltipText | Returns or sets the BalloonTooltipText |
| Enable | Returns or sets the Enable. |
| Expanded | Returns or sets the Expanded |
| Group | Returns or sets the Group |
| Label | Returns or sets the Label |
| Localize | Returns or sets the Localize. |
| Name | Returns the name of the block or BlockID |
| NumberSelectable | Returns or sets the NumberSelectable. |
| RetainValue | Returns or sets the RetainValue. |
| Show | Returns or sets the Visibility of block. |
| Tag | Returns the Tag for this object. |
| Type | Returns the type of block |
Methods¶
| Method | Description |
|---|---|
| Focus | Focuses on the block. |
| GetBalloonTooltipLayoutMembers | Gets theBalloonTooltipLayout members |
| GetProperties | Returns the properties of the block |
| GetValue | Gets the Value |
| SetValue | Sets the Value |
Property Detail¶
BalloonTooltipImage¶
-
ObjectColorPicker.BalloonTooltipImage¶ Returns or sets the BalloonTooltipImage
-------------------------------------Getter Method
Signature
BalloonTooltipImageReturns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BalloonTooltipImageParameters: imageString (str) – New in version NX8.5.0.
License requirements: None.
BalloonTooltipLayoutAsString¶
-
ObjectColorPicker.BalloonTooltipLayoutAsString¶ Returns or sets the BalloonTooltipLayout as string
-------------------------------------Getter Method
Signature
BalloonTooltipLayoutAsStringReturns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BalloonTooltipLayoutAsStringParameters: enumString (str) – New in version NX8.5.0.
License requirements: None.
BalloonTooltipText¶
-
ObjectColorPicker.BalloonTooltipText¶ Returns or sets the BalloonTooltipText
-------------------------------------Getter Method
Signature
BalloonTooltipTextReturns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BalloonTooltipTextParameters: tooltipText (str) – New in version NX8.5.0.
License requirements: None.
Localize¶
-
ObjectColorPicker.Localize¶ Returns or sets the Localize.
If true, translates the Label string into the language of the current locale.
-------------------------------------Getter Method
Signature
LocalizeReturns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LocalizeParameters: localize (bool) – New in version NX8.5.0.
License requirements: None.
NumberSelectable¶
-
ObjectColorPicker.NumberSelectable¶ Returns or sets the NumberSelectable.
Represents number of colors that can be selected
-------------------------------------Getter Method
Signature
NumberSelectableReturns: Return type: int New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
NumberSelectableParameters: number (int) – New in version NX8.5.0.
License requirements: None.
RetainValue¶
-
ObjectColorPicker.RetainValue¶ Returns or sets the RetainValue.
If true, block’s value will be stored in dialog memory upon OK, Apply or Close.
-------------------------------------Getter Method
Signature
RetainValueReturns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
RetainValueParameters: retain (bool) – New in version NX8.5.0.
License requirements: None.
Method Detail¶
GetBalloonTooltipLayoutMembers¶
-
ObjectColorPicker.GetBalloonTooltipLayoutMembers¶ Gets theBalloonTooltipLayout members
Signature
GetBalloonTooltipLayoutMembers()Returns: Values to get from the property Return type: list of str New in version NX8.5.0.
License requirements: None.