ColumnarDataSourceBase#

class ansys.mechanical.stubs.v241.Ansys.Mechanical.Table.ColumnarDataSourceBase#

Bases: object

T:Ansys.Mechanical.Table.ColumnarDataSourceBase is a class that provides foundational behavior for import settings that consume data from columnar data sources (such as delimited or fixed-width files).

Overview#

Clear

GetEnumerator

RemoveAt

Removes the import definition at the specified index.

UseColumn

Count

Gets the number of column definitions.

Format

Gets the existing corresponding format.

Item

Item property.

PathType

Gets or sets the type of URI provided for Table import.

SkipFooter

Gets or sets the number of rows to ignore at the end of the file during import.

SkipRows

Gets or sets the number of rows to skip over at the start of the file during import.

Property detail#

property ColumnarDataSourceBase.Count: int | None#

Gets the number of column definitions.

property ColumnarDataSourceBase.Format: Ansys.Mechanical.DataModel.MechanicalEnums.Table.ImportFormat | None#

Gets the existing corresponding format.

property ColumnarDataSourceBase.Item: Ansys.Mechanical.Table.ColumnarDataImportDefinition | None#

Item property.

property ColumnarDataSourceBase.PathType: Ansys.Mechanical.DataModel.MechanicalEnums.Common.PathType | None#

Gets or sets the type of URI provided for Table import. Default: F:Ansys.Mechanical.DataModel.MechanicalEnums.Common.PathType.Absolute

property ColumnarDataSourceBase.SkipFooter: int | None#

Gets or sets the number of rows to ignore at the end of the file during import.

property ColumnarDataSourceBase.SkipRows: int | None#

Gets or sets the number of rows to skip over at the start of the file during import.

Method detail#

ColumnarDataSourceBase.Clear() None#
ColumnarDataSourceBase.GetEnumerator() Iterator[Ansys.Mechanical.Table.ColumnarDataImportDefinition]#
ColumnarDataSourceBase.RemoveAt(index: int) None#

Removes the import definition at the specified index.

ColumnarDataSourceBase.UseColumn(index: int, variableType: Ansys.Mechanical.DataModel.MechanicalEnums.Table.VariableType, variableClassification: Ansys.Mechanical.DataModel.MechanicalEnums.Table.VariableClassification, unit: str, name: str) Ansys.Mechanical.Table.ColumnarDataSourceBase#