RGBColorPicker Class

class NXOpen.BlockStyler.RGBColorPicker

Bases: NXOpen.BlockStyler.UIBlock

Represents a RGB 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
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
Value Returns or sets the Value

Methods

Method Description
Focus Focuses on the block.
GetBalloonTooltipLayoutMembers Gets the BalloonTooltipLayout member @return Values to get from the property.
GetProperties Returns the properties of the block @return

Property Detail

BalloonTooltipImage

RGBColorPicker.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

RGBColorPicker.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

RGBColorPicker.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

RGBColorPicker.Localize

Returns or sets the Localize.

If true, the Label is translated to current locale language.

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

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.

RetainValue

RGBColorPicker.RetainValue

Returns or sets the RetainValue.

If true, the block’s value will be saved 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.

Value

RGBColorPicker.Value

Returns or sets the Value

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

Getter Method

Signature Value()

Returns:
Return type:int

New in version NX8.5.0.

License requirements: None.

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

Setter Method

Signature Value(rgbValue)

Parameters:rgbValue (int) –

New in version NX8.5.0.

License requirements: None.

Method Detail

GetBalloonTooltipLayoutMembers

RGBColorPicker.GetBalloonTooltipLayoutMembers

Gets the BalloonTooltipLayout member

Signature GetBalloonTooltipLayoutMembers()

Returns:Values to get from the property.
Return type:list of str

New in version NX8.5.0.

License requirements: None.