DoubleTable Class — NXOpen Python API Reference 12.0.0 documentation

# DoubleTable Class

class `NXOpen.BlockStyler.``DoubleTable`

  Bases: `NXOpen.BlockStyler.UIBlock`

  Represents a Double Table block

  New in version NX8.5.0.

# Properties

Property | Description
--- | ---
CellWidth | Returns or sets the CellWidth
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
GetMinimumValues | Gets the MinimumValues
GetProperties | Returns the properties of the block
GetRowTitles | Gets the titles of rows in table
GetValues | Gets the Values in table
SetMaximumValues | Sets the MaximumValues
SetMinimumValues | Sets the MinimumValues
SetRowTitles | Sets the titles of rows in table
SetValues | Sets the Values in table

# Property Detail

## CellWidth

`DoubleTable.``CellWidth`

  Returns or sets the CellWidth

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

  Getter Method

  Signature `CellWidth`

  Returns: |
  Return type: | int

  New in version NX8.5.0.

  License requirements: None.

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

  Setter Method

  Signature `CellWidth`

  Parameters: | cellWidth (int) –

  New in version NX8.5.0.

  License requirements: None.

## ColumnTitles

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

  Parameters: | title (str) –

  New in version NX8.5.0.

  License requirements: None.

## Increment

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

  Parameters: | increment (float) –

  New in version NX8.5.0.

  License requirements: None.

## RetainValue

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

  Parameters: | retain (bool) –

  New in version NX10.0.0.

  License requirements: None.

## Spin

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

  Parameters: | spin (bool) –

  New in version NX8.5.0.

  License requirements: None.

## WrapSpin

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

  Parameters: | wrapSpin (bool) –

  New in version NX8.5.0.

  License requirements: None.

# Method Detail

## GetMaximumValues

`DoubleTable.``GetMaximumValues`

  Gets the MaximumValues

  Signature `GetMaximumValues()`

  Returns: | a tuple
  Return type: | A tuple consisting of (matrixValue, nRows, nColumns) matrixValue is a list of float. Value 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

`DoubleTable.``GetMinimumValues`

  Gets the MinimumValues

  Signature `GetMinimumValues()`

  Returns: | a tuple
  Return type: | A tuple consisting of (matrixValue, nRows, nColumns) matrixValue is a list of float. Value 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.

## GetRowTitles

`DoubleTable.``GetRowTitles`

  Gets the titles of rows in table

  Signature `GetRowTitles()`

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

  New in version NX8.5.0.

  License requirements: None.

## GetValues

`DoubleTable.``GetValues`

  Gets the Values in table

  Signature `GetValues()`

  Returns: | a tuple
  Return type: | A tuple consisting of (matrixValue, nRows, nColumns) matrixValue is a list of float. Value 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

`DoubleTable.``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 float) – Value to set to the property

  New in version NX8.5.0.

  License requirements: None.

## SetMinimumValues

`DoubleTable.``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 float) – Value to set for given property.

  New in version NX8.5.0.

  License requirements: None.

## SetRowTitles

`DoubleTable.``SetRowTitles`

  Sets the titles of rows in table

  Signature `SetRowTitles(rowTitle)`

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

  New in version NX8.5.0.

  License requirements: None.

## SetValues

`DoubleTable.``SetValues`

  Sets the Values in table

  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 float) – Value to set for the property.

  New in version NX8.5.0.

  License requirements: None.