Attribute Table
Quick Facts
| Property | Value |
|---|---|
| Class | CENPyOlpAttributeTable |
| Module | cenpylib.CENPyOlpAttributeTable |
| Package | cenpylib |
| Release | R2025.2.4 |
| Methods | 23 |
| Inherits from | CENPyOlpAttribute |
Inheritance
Quick Start
# Boilerplate Example
attributeTable = ... # obtained from the runtime context
result = attributeTable.GetColumnType(0)Query Methods
| Method | Returns | Summary |
|---|---|---|
GetColumnType | int | Get type of given column. |
GetColumnName | str | Get name of given column. |
GetColumnSize | int | Get number of columns. |
GetRowSize | int | Get number of rows. |
GetCell | Any | Get cells of a row. |
GetCellType | int | Get the cell types of a row. |
GetImportFilePath | str | Get full path of the import file. |
GetRowNumberById | int | Get row number of the row with specified ID (REQUIRES: First column has to be an ID). |
GetRowValuesById | list | Get row values of the row with specified ID (REQUIRES: First column has to be an ID). |
GetRowValues | list | Get row values of the row with specified index. |
GetTableIconName | str | Get the icon name for this table. |
GetColumnValueType | int | Get attribute type of the column. |
GetCellValueType | int | Get attribute type of the cell. |
Mutation Methods
| Method | Returns | Summary |
|---|---|---|
ClearTable | — | Empty and delete content of the table. |
AddColumn | int | Add a new column to the table. |
AddRow | int | Add a row. |
SetCell | — | Set the cell with a value. |
SetImportScriptName | — | Searches path to the import script and sets it. |
SetExportScriptName | — | Searches path to the export script and sets it. |
SetImportFilePath | — | Sets path to the file which should be imported. |
DeleteRow | — | Delete a row in this table by index. |
DeleteAllRows | — | Delete all existing rows of this table. |
SetTableIconName | — | Set the table icon name for this table. |
Version Notes
This class is documented as of release R2025.2.4.
Was this page helpful?