IntegerTable Class

class NXOpen.BlockStyler.IntegerTable

Bases: NXOpen.BlockStyler.UIBlock

Represents a Integer Table block

New in version NX8.5.0.

Properties

Property Description
ColumnTitles Returns or sets the ColumnTitles
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
Name Returns the name of the block or BlockID
RetainValue Returns or sets the RetainValue.
Show Returns or sets the Visibility of block.
Spin Returns or sets the Spin
Tag Returns the Tag for this object.
Type Returns the type of block
WrapSpin Returns or sets the WrapSpin.

Methods

Method Description
Focus Focuses on the block.
GetMaximumValues Gets the MaximumValues @return Values to get from the property
GetMinimumValues Gets the MinimumValues @return Value to get for given property name.
GetProperties Returns the properties of the block @return
GetRowTitles Gets the RowTitles @return Values to get from the property.
GetValues Gets the Values @return Values to get from the property.
SetMaximumValues Sets the MaximumValues
SetMinimumValues Sets the MinimumValues
SetRowTitles Sets the RowTitles
SetValues Sets the Values

Property Detail

ColumnTitles

IntegerTable.ColumnTitles

Returns or sets the ColumnTitles

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

Getter Method

Signature ColumnTitles()

Returns:
Return type:str

New in version NX8.5.0.

License requirements: None.

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

Setter Method

Signature ColumnTitles(title)

Parameters:title (str) –

New in version NX8.5.0.

License requirements: None.

Increment

IntegerTable.Increment

Returns or sets the Increment.

Use this property only when Spin is true

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

Getter Method

Signature Increment()

Returns:
Return type:float

New in version NX8.5.0.

License requirements: None.

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

Setter Method

Signature Increment(increment)

Parameters:increment (float) –

New in version NX8.5.0.

License requirements: None.

RetainValue

IntegerTable.RetainValue

Returns or sets the RetainValue.

If true, indicates that the values in the block would be stored in dialog memory upon OK, Apply or Close.

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

Getter Method

Signature RetainValue()

Returns:
Return type:bool

New in version NX10.0.0.

License requirements: None.

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

Setter Method

Signature RetainValue(retain)

Parameters:retain (bool) –

New in version NX10.0.0.

License requirements: None.

Spin

IntegerTable.Spin

Returns or sets the Spin

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

Getter Method

Signature Spin()

Returns:
Return type:bool

New in version NX8.5.0.

License requirements: None.

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

Setter Method

Signature Spin(spin)

Parameters:spin (bool) –

New in version NX8.5.0.

License requirements: None.

WrapSpin

IntegerTable.WrapSpin

Returns or sets the WrapSpin.

Use this property only when Spin is true

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

Getter Method

Signature WrapSpin()

Returns:
Return type:bool

New in version NX8.5.0.

License requirements: None.

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

Setter Method

Signature WrapSpin(wrapSpin)

Parameters:wrapSpin (bool) –

New in version NX8.5.0.

License requirements: None.

Method Detail

GetMaximumValues

IntegerTable.GetMaximumValues

Gets the MaximumValues

Signature GetMaximumValues()

Returns:a tuple
Return type:A tuple consisting of (matrixValue, nRows, nColumns). matrixValue is a list of int. Values to get from the property nRows is a int. Number of Rows in the 2D matrix nColumns is a int. Number of Columns in the 2D matrix

New in version NX8.5.0.

License requirements: None.

GetMinimumValues

IntegerTable.GetMinimumValues

Gets the MinimumValues

Signature GetMinimumValues()

Returns:a tuple
Return type:A tuple consisting of (matrixValue, nRows, nColumns). matrixValue is a list of int. Value to get for given property name. nRows is a int. Number of Rows in the 2D matrix nColumns is a int. Number of Columns in the 2D matrix

New in version NX8.5.0.

License requirements: None.

GetRowTitles

IntegerTable.GetRowTitles

Gets the RowTitles

Signature GetRowTitles()

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

New in version NX8.5.0.

License requirements: None.

GetValues

IntegerTable.GetValues

Gets the Values

Signature GetValues()

Returns:a tuple
Return type:A tuple consisting of (matrixValue, nRows, nColumns). matrixValue is a list of int. Values to get from the property. nRows is a int. Number of Rows in the 2D matrix nColumns is a int. Number of Columns in the 2D matrix

New in version NX8.5.0.

License requirements: None.

SetMaximumValues

IntegerTable.SetMaximumValues

Sets the MaximumValues

Signature SetMaximumValues(nRows, nColumns, matrixValue)

Parameters:
  • nRows (int) – Number of Rows in the 2D matrix
  • nColumns (int) – Number of Columns in the 2D matrix
  • matrixValue (list of int) – Value to set for given property.

New in version NX8.5.0.

License requirements: None.

SetMinimumValues

IntegerTable.SetMinimumValues

Sets the MinimumValues

Signature SetMinimumValues(nRows, nColumns, matrixValue)

Parameters:
  • nRows (int) – Number of Rows in the 2D matrix
  • nColumns (int) – Number of Columns in the 2D matrix
  • matrixValue (list of int) – Value to set for given property.

New in version NX8.5.0.

License requirements: None.

SetRowTitles

IntegerTable.SetRowTitles

Sets the RowTitles

Signature SetRowTitles(rowTitle)

Parameters:rowTitle (list of str) – Value to set for the property.

New in version NX8.5.0.

License requirements: None.

SetValues

IntegerTable.SetValues

Sets the Values

Signature SetValues(nRows, nColumns, matrixValue)

Parameters:
  • nRows (int) – Number of Rows in the 2D matrix
  • nColumns (int) – Number of Columns in the 2D matrix
  • matrixValue (list of int) – Values to set for the property.

New in version NX8.5.0.

License requirements: None.