IntegerBlock Class — NXOpen Python API Reference 12.0.0 documentation

# IntegerBlock Class

class `NXOpen.BlockStyler.``IntegerBlock`

  Bases: `NXOpen.BlockStyler.UIBlock`

  Represents a Integer block

  New in version NX8.5.0.

# Properties

Property | Description
--- | ---
AdaptiveScaleLimits | Returns or sets the AdaptiveScaleLimits
BalloonTooltipImage | Returns or sets the BalloonTooltipImage
BalloonTooltipLayoutAsString | Returns or sets the BalloonTooltipLayout as string
BalloonTooltipText | Returns or sets the BalloonTooltipText
Bitmap | Returns or sets the Bitmap
Enable | Returns or sets the Enable.
Expanded | Returns or sets the Expanded
Group | Returns or sets the Group
Increment | Returns or sets the Increment
Label | Returns or sets the Label
LineIncrement | Returns or sets the LineIncrement
Localize | Returns or sets the Localize
MaxInclusive | Returns or sets the MaxInclusive
MaximumValue | Returns or sets the MaximumValue
MinInclusive | Returns or sets the MinInclusive
MinimumValue | Returns or sets the MinimumValue
Name | Returns the name of the block or BlockID
PageIncrement | Returns or sets the PageIncrement
PresentationStyleAsString | Returns or sets the PresentationStyle as string
ReadOnlyValue | Returns or sets the ReadOnlyValue
RetainValue | Returns or sets the RetainValue
ScaleLimits | Returns or sets the ScaleLimits
ScaleMaxLimitLabel | Returns or sets the ScaleMaxLimitLabel
ScaleMinLimitLabel | Returns or sets the ScaleMinLimitLabel
Show | Returns or sets the Visibility of block.
ShowScaleValue | Returns or sets the ShowScaleValue
Tag | Returns the Tag for this object.
TitleVisibility | Returns or sets the TitleVisibility
Type | Returns the type of block
Value | Returns or sets the Value
WrapSpin | Returns or sets the WrapSpin

# Methods

Method | Description
--- | ---
Focus | Focuses on the block.
GetBalloonTooltipLayoutMembers | Gets the BalloonTooltipLayout members
GetComboOptions | Gets the ComboOptions
GetPresentationStyleMembers | Gets the PresentationStyle member
GetProperties | Returns the properties of the block
SetComboOptions | Sets the ComboOptions

# Property Detail

## AdaptiveScaleLimits

`IntegerBlock.``AdaptiveScaleLimits`

  Returns or sets the AdaptiveScaleLimits

  `-------------------------------------`

  Getter Method

  Signature `AdaptiveScaleLimits`

  Returns: |
  Return type: | bool

  New in version NX8.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `AdaptiveScaleLimits`

  Parameters: | scaleLimits (bool) –

  New in version NX8.5.0.

  License requirements: None.

## BalloonTooltipImage

`IntegerBlock.``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`

  Parameters: | imageString (str) –

  New in version NX8.5.0.

  License requirements: None.

## BalloonTooltipLayoutAsString

`IntegerBlock.``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`

  Parameters: | enumString (str) –

  New in version NX8.5.0.

  License requirements: None.

## BalloonTooltipText

`IntegerBlock.``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`

  Parameters: | balloonTooltipText (str) –

  New in version NX8.5.0.

  License requirements: None.

## Bitmap

`IntegerBlock.``Bitmap`

  Returns or sets the Bitmap

  `-------------------------------------`

  Getter Method

  Signature `Bitmap`

  Returns: |
  Return type: | str

  New in version NX8.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `Bitmap`

  Parameters: | bitmapString (str) –

  New in version NX8.5.0.

  License requirements: None.

## Increment

`IntegerBlock.``Increment`

  Returns or sets the Increment

  `-------------------------------------`

  Getter Method

  Signature `Increment`

  Returns: |
  Return type: | float

  New in version NX8.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `Increment`

  Parameters: | increment (float) –

  New in version NX8.5.0.

  License requirements: None.

## LineIncrement

`IntegerBlock.``LineIncrement`

  Returns or sets the LineIncrement

  `-------------------------------------`

  Getter Method

  Signature `LineIncrement`

  Returns: |
  Return type: | float

  New in version NX8.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `LineIncrement`

  Parameters: | lineIncrement (float) –

  New in version NX8.5.0.

  License requirements: None.

## Localize

`IntegerBlock.``Localize`

  Returns or sets the Localize

  `-------------------------------------`

  Getter Method

  Signature `Localize`

  Returns: |
  Return type: | bool

  New in version NX8.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `Localize`

  Parameters: | localize (bool) –

  New in version NX8.5.0.

  License requirements: None.

## MaxInclusive

`IntegerBlock.``MaxInclusive`

  Returns or sets the MaxInclusive

  `-------------------------------------`

  Getter Method

  Signature `MaxInclusive`

  Returns: |
  Return type: | bool

  New in version NX8.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `MaxInclusive`

  Parameters: | maxInclusive (bool) –

  New in version NX8.5.0.

  License requirements: None.

## MaximumValue

`IntegerBlock.``MaximumValue`

  Returns or sets the MaximumValue

  `-------------------------------------`

  Getter Method

  Signature `MaximumValue`

  Returns: |
  Return type: | int

  New in version NX8.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `MaximumValue`

  Parameters: | maxValue (int) –

  New in version NX8.5.0.

  License requirements: None.

## MinInclusive

`IntegerBlock.``MinInclusive`

  Returns or sets the MinInclusive

  `-------------------------------------`

  Getter Method

  Signature `MinInclusive`

  Returns: |
  Return type: | bool

  New in version NX8.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `MinInclusive`

  Parameters: | minInclusive (bool) –

  New in version NX8.5.0.

  License requirements: None.

## MinimumValue

`IntegerBlock.``MinimumValue`

  Returns or sets the MinimumValue

  `-------------------------------------`

  Getter Method

  Signature `MinimumValue`

  Returns: |
  Return type: | int

  New in version NX8.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `MinimumValue`

  Parameters: | minValue (int) –

  New in version NX8.5.0.

  License requirements: None.

## PageIncrement

`IntegerBlock.``PageIncrement`

  Returns or sets the PageIncrement

  `-------------------------------------`

  Getter Method

  Signature `PageIncrement`

  Returns: |
  Return type: | float

  New in version NX8.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `PageIncrement`

  Parameters: | pageIncrement (float) –

  New in version NX8.5.0.

  License requirements: None.

## PresentationStyleAsString

`IntegerBlock.``PresentationStyleAsString`

  Returns or sets the PresentationStyle as string

  `-------------------------------------`

  Getter Method

  Signature `PresentationStyleAsString`

  Returns: |
  Return type: | str

  New in version NX8.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `PresentationStyleAsString`

  Parameters: | enumString (str) –

  New in version NX8.5.0.

  License requirements: None.

## ReadOnlyValue

`IntegerBlock.``ReadOnlyValue`

  Returns or sets the ReadOnlyValue

  `-------------------------------------`

  Getter Method

  Signature `ReadOnlyValue`

  Returns: |
  Return type: | bool

  New in version NX8.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ReadOnlyValue`

  Parameters: | readOnly (bool) –

  New in version NX8.5.0.

  License requirements: None.

## RetainValue

`IntegerBlock.``RetainValue`

  Returns or sets the RetainValue

  `-------------------------------------`

  Getter Method

  Signature `RetainValue`

  Returns: |
  Return type: | bool

  New in version NX8.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `RetainValue`

  Parameters: | retain (bool) –

  New in version NX8.5.0.

  License requirements: None.

## ScaleLimits

`IntegerBlock.``ScaleLimits`

  Returns or sets the ScaleLimits

  `-------------------------------------`

  Getter Method

  Signature `ScaleLimits`

  Returns: |
  Return type: | bool

  New in version NX8.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ScaleLimits`

  Parameters: | scaleLimits (bool) –

  New in version NX8.5.0.

  License requirements: None.

## ScaleMaxLimitLabel

`IntegerBlock.``ScaleMaxLimitLabel`

  Returns or sets the ScaleMaxLimitLabel

  `-------------------------------------`

  Getter Method

  Signature `ScaleMaxLimitLabel`

  Returns: |
  Return type: | str

  New in version NX8.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ScaleMaxLimitLabel`

  Parameters: | maxLimitLabel (str) –

  New in version NX8.5.0.

  License requirements: None.

## ScaleMinLimitLabel

`IntegerBlock.``ScaleMinLimitLabel`

  Returns or sets the ScaleMinLimitLabel

  `-------------------------------------`

  Getter Method

  Signature `ScaleMinLimitLabel`

  Returns: |
  Return type: | str

  New in version NX8.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ScaleMinLimitLabel`

  Parameters: | minLimitLabel (str) –

  New in version NX8.5.0.

  License requirements: None.

## ShowScaleValue

`IntegerBlock.``ShowScaleValue`

  Returns or sets the ShowScaleValue

  `-------------------------------------`

  Getter Method

  Signature `ShowScaleValue`

  Returns: |
  Return type: | bool

  New in version NX8.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ShowScaleValue`

  Parameters: | showValue (bool) –

  New in version NX8.5.0.

  License requirements: None.

## TitleVisibility

`IntegerBlock.``TitleVisibility`

  Returns or sets the TitleVisibility

  `-------------------------------------`

  Getter Method

  Signature `TitleVisibility`

  Returns: |
  Return type: | bool

  New in version NX8.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `TitleVisibility`

  Parameters: | visibility (bool) –

  New in version NX8.5.0.

  License requirements: None.

## Value

`IntegerBlock.``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`

  Parameters: | inetegerValue (int) –

  New in version NX8.5.0.

  License requirements: None.

## WrapSpin

`IntegerBlock.``WrapSpin`

  Returns or sets the WrapSpin

  `-------------------------------------`

  Getter Method

  Signature `WrapSpin`

  Returns: |
  Return type: | bool

  New in version NX8.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `WrapSpin`

  Parameters: | wrapSpin (bool) –

  New in version NX8.5.0.

  License requirements: None.

# Method Detail

## GetBalloonTooltipLayoutMembers

`IntegerBlock.``GetBalloonTooltipLayoutMembers`

  Gets the BalloonTooltipLayout members

  Signature `GetBalloonTooltipLayoutMembers()`

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

  New in version NX8.5.0.

  License requirements: None.

## GetComboOptions

`IntegerBlock.``GetComboOptions`

  Gets the ComboOptions

  Signature `GetComboOptions()`

  Returns: |
  Return type: | list of int

  New in version NX8.5.0.

  License requirements: None.

## GetPresentationStyleMembers

`IntegerBlock.``GetPresentationStyleMembers`

  Gets the PresentationStyle member

  Signature `GetPresentationStyleMembers()`

  Returns: | Value to get for the property.
  Return type: | list of str

  New in version NX8.5.0.

  License requirements: None.

## SetComboOptions

`IntegerBlock.``SetComboOptions`

  Sets the ComboOptions

  Signature `SetComboOptions(optionValue)`

  Parameters: | optionValue (list of int) –

  New in version NX8.5.0.

  License requirements: None.