    

 ## On this page

  

 

 # `ColumnarDataSourceBase`

 Last update: 09.03.2026 

<a id="ansys.mechanical.stubs.v252.Ansys.Mechanical.ExternalData.ColumnarDataSourceBase"></a>

#### *class* Ansys.Mechanical.ExternalData.ColumnarDataSourceBase

Bases: [`object`](https://docs.python.org/3/library/functions.html#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).

<a id="overview"></a>

## Overview

### Methods

NameDescription[`Clear`](#ColumnarDataSourceBase.Clear)[`GetEnumerator`](#ColumnarDataSourceBase.GetEnumerator)[`RemoveAt`](#ColumnarDataSourceBase.RemoveAt)Removes the import definition at the specified index.[`UseColumn`](#ColumnarDataSourceBase.UseColumn)### Properties

NameDescription[`Count`](#ColumnarDataSourceBase.Count)Gets the number of column definitions.[`Format`](#ColumnarDataSourceBase.Format)Gets the existing corresponding format.[`Item`](#ColumnarDataSourceBase.Item)Item property.[`SkipFooter`](#ColumnarDataSourceBase.SkipFooter)Gets or sets the number of rows to ignore at the end of the file during import.[`SkipRows`](#ColumnarDataSourceBase.SkipRows)Gets or sets the number of rows to skip over at the start of the file during import.<a id="property-detail"></a>

## Property detail

<a id="ColumnarDataSourceBase.Count"></a>

### *property* ColumnarDataSourceBase.Count *: [int](https://docs.python.org/3/library/functions.html#int) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the number of column definitions.

<a id="ColumnarDataSourceBase.Format"></a>

### *property* ColumnarDataSourceBase.Format *: [Ansys.Mechanical.DataModel.MechanicalEnums.ExternalData.ImportFormat](../DataModel/MechanicalEnums/ExternalData/ImportFormat.md#ansys.mechanical.stubs.v252.Ansys.Mechanical.DataModel.MechanicalEnums.ExternalData.ImportFormat) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the existing corresponding format.

<a id="ColumnarDataSourceBase.Item"></a>

### *property* ColumnarDataSourceBase.Item *: [Ansys.Mechanical.ExternalData.ColumnarDataImportDefinition](ColumnarDataImportDefinition.md#ansys.mechanical.stubs.v252.Ansys.Mechanical.ExternalData.ColumnarDataImportDefinition) | [None](https://docs.python.org/3/library/constants.html#None)*

Item property.

<a id="ColumnarDataSourceBase.SkipFooter"></a>

### *property* ColumnarDataSourceBase.SkipFooter *: [int](https://docs.python.org/3/library/functions.html#int) | [None](https://docs.python.org/3/library/constants.html#None)*

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

<a id="ColumnarDataSourceBase.SkipRows"></a>

### *property* ColumnarDataSourceBase.SkipRows *: [int](https://docs.python.org/3/library/functions.html#int) | [None](https://docs.python.org/3/library/constants.html#None)*

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

<a id="method-detail"></a>

## Method detail

<a id="ColumnarDataSourceBase.Clear"></a>

### ColumnarDataSourceBase.Clear() → [None](https://docs.python.org/3/library/constants.html#None)

<a id="ColumnarDataSourceBase.GetEnumerator"></a>

### ColumnarDataSourceBase.GetEnumerator() → Iterator\[[Ansys.Mechanical.ExternalData.ColumnarDataImportDefinition](ColumnarDataImportDefinition.md#ansys.mechanical.stubs.v252.Ansys.Mechanical.ExternalData.ColumnarDataImportDefinition)\]

<a id="ColumnarDataSourceBase.RemoveAt"></a>

### ColumnarDataSourceBase.RemoveAt(index: [int](https://docs.python.org/3/library/functions.html#int)) → [None](https://docs.python.org/3/library/constants.html#None)

Removes the import definition at the specified index.

<a id="ColumnarDataSourceBase.UseColumn"></a>

### ColumnarDataSourceBase.UseColumn(index: [int](https://docs.python.org/3/library/functions.html#int), variableType: [Ansys.Mechanical.DataModel.MechanicalEnums.ExternalData.VariableType](../DataModel/MechanicalEnums/ExternalData/VariableType.md#ansys.mechanical.stubs.v252.Ansys.Mechanical.DataModel.MechanicalEnums.ExternalData.VariableType), unit: [str](https://docs.python.org/3/library/stdtypes.html#str), name: [str](https://docs.python.org/3/library/stdtypes.html#str)) → [Ansys.Mechanical.ExternalData.ColumnarDataSourceBase](#ansys.mechanical.stubs.v252.Ansys.Mechanical.ExternalData.ColumnarDataSourceBase)