Skip to Content

Attribute Table

Quick Facts

PropertyValue
ClassCENPyOlpAttributeTable
Modulecenpylib.CENPyOlpAttributeTable
Packagecenpylib
ReleaseR2025.2.4
Methods23
Inherits fromCENPyOlpAttribute

Inheritance

Quick Start

# Boilerplate Example attributeTable = ... # obtained from the runtime context result = attributeTable.GetColumnType(0)

Query Methods

MethodReturnsSummary
GetColumnTypeintGet type of given column.
GetColumnNamestrGet name of given column.
GetColumnSizeintGet number of columns.
GetRowSizeintGet number of rows.
GetCellAnyGet cells of a row.
GetCellTypeintGet the cell types of a row.
GetImportFilePathstrGet full path of the import file.
GetRowNumberByIdintGet row number of the row with specified ID (REQUIRES: First column has to be an ID).
GetRowValuesByIdlistGet row values of the row with specified ID (REQUIRES: First column has to be an ID).
GetRowValueslistGet row values of the row with specified index.
GetTableIconNamestrGet the icon name for this table.
GetColumnValueTypeintGet attribute type of the column.
GetCellValueTypeintGet attribute type of the cell.

Mutation Methods

MethodReturnsSummary
ClearTable—Empty and delete content of the table.
AddColumnintAdd a new column to the table.
AddRowintAdd 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 R2026.1.1.

Was this page helpful?