ColumnarDataSourceBase#

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

Bases: object

T:Ansys.Mechanical.ExternalData.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.

Item

Item property.

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.

Format

Gets the existing corresponding format.

Property detail#

property ColumnarDataSourceBase.Count: System.Int32 | None

Gets the number of column definitions.

property ColumnarDataSourceBase.Item: Ansys.Mechanical.ExternalData.ColumnarDataImportDefinition | None

Item property.

property ColumnarDataSourceBase.SkipFooter: System.Int32 | None

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

property ColumnarDataSourceBase.SkipRows: System.Int32 | None

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

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

Gets the existing corresponding format.

Method detail#

ColumnarDataSourceBase.Clear() System.Void
ColumnarDataSourceBase.GetEnumerator() System.Collections.Generic.IEnumerator[Ansys.Mechanical.ExternalData.ColumnarDataImportDefinition]
ColumnarDataSourceBase.RemoveAt(index: System.Int32) System.Void

Removes the import definition at the specified index.

ColumnarDataSourceBase.UseColumn(index: System.Int32, variableType: Ansys.Mechanical.DataModel.MechanicalEnums.ExternalData.VariableType, unit: System.String, name: System.String) Ansys.Mechanical.ExternalData.ColumnarDataSourceBase