ObjectColorPicker Class¶
-
class
NXOpen.BlockStyler.
ObjectColorPicker
¶ Bases:
NXOpen.BlockStyler.UIBlock
Represents 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 @return Values to get from the property |
GetProperties | Returns the properties of the block @return |
GetValue | Gets the Value @return Values to get from the property |
SetValue | Sets the Value |
Property Detail¶
BalloonTooltipImage¶
-
ObjectColorPicker.
BalloonTooltipImage
¶ Returns or sets the BalloonTooltipImage
-------------------------------------
Getter Method
Signature
BalloonTooltipImage()
Returns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
BalloonTooltipImage(imageString)
Parameters: imageString (str) – New in version NX8.5.0.
License requirements: None.
BalloonTooltipLayoutAsString¶
-
ObjectColorPicker.
BalloonTooltipLayoutAsString
¶ Returns or sets the BalloonTooltipLayout as string
-------------------------------------
Getter Method
Signature
BalloonTooltipLayoutAsString()
Returns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
BalloonTooltipLayoutAsString(enumString)
Parameters: enumString (str) – New in version NX8.5.0.
License requirements: None.
BalloonTooltipText¶
-
ObjectColorPicker.
BalloonTooltipText
¶ Returns or sets the BalloonTooltipText
-------------------------------------
Getter Method
Signature
BalloonTooltipText()
Returns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
BalloonTooltipText(tooltipText)
Parameters: 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
Localize()
Returns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Localize(localize)
Parameters: 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
NumberSelectable()
Returns: Return type: int New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
NumberSelectable(number)
Parameters: 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
RetainValue()
Returns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
RetainValue(retain)
Parameters: 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.