IntegerTable Class¶
-
class
NXOpen.BlockStyler.IntegerTable¶ Bases:
NXOpen.BlockStyler.UIBlockRepresents 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 |
| GetMinimumValues | Gets the MinimumValues |
| GetProperties | Returns the properties of the block |
| GetRowTitles | Gets the RowTitles |
| GetValues | Gets the Values |
| 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
ColumnTitlesReturns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ColumnTitlesParameters: 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
IncrementReturns: Return type: float New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
IncrementParameters: 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
RetainValueReturns: Return type: bool New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
RetainValueParameters: retain (bool) – New in version NX10.0.0.
License requirements: None.
Spin¶
-
IntegerTable.Spin¶ Returns or sets the Spin
-------------------------------------Getter Method
Signature
SpinReturns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SpinParameters: 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
WrapSpinReturns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
WrapSpinParameters: 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.