    

 ## On this page

  

 

 # `ColumnarDataImportDefinition`

 Last update: 09.03.2026 

<a id="ansys.mechanical.stubs.v261.Ansys.Mechanical.ExternalData.ColumnarDataImportDefinition"></a>

#### *class* Ansys.Mechanical.ExternalData.ColumnarDataImportDefinition

Bases: [`object`](https://docs.python.org/3/library/functions.html#object)

A simple class to hold the import definitions for how a column from a data source in columnar format should be processed.

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

## Overview

### Properties

NameDescription[`Index`](#ColumnarDataImportDefinition.Index)Gets or sets the specified data source column index from which this variable will be[`Name`](#ColumnarDataImportDefinition.Name)Gets or sets an identifier for the data source column.[`Unit`](#ColumnarDataImportDefinition.Unit)Gets or sets the unit of the column.[`UserFieldVariable`](#ColumnarDataImportDefinition.UserFieldVariable)[`VariableType`](#ColumnarDataImportDefinition.VariableType)Gets or sets the variable type of the column.<a id="property-detail"></a>

## Property detail

<a id="ColumnarDataImportDefinition.Index"></a>

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

Gets or sets the specified data source column index from which this variable will be imported.

<a id="ColumnarDataImportDefinition.Name"></a>

### *property* ColumnarDataImportDefinition.Name *: [str](https://docs.python.org/3/library/stdtypes.html#str) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets an identifier for the data source column.

<a id="ColumnarDataImportDefinition.Unit"></a>

### *property* ColumnarDataImportDefinition.Unit *: [str](https://docs.python.org/3/library/stdtypes.html#str) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the unit of the column.

<a id="ColumnarDataImportDefinition.UserFieldVariable"></a>

### *property* ColumnarDataImportDefinition.UserFieldVariable *: [str](https://docs.python.org/3/library/stdtypes.html#str) | [None](https://docs.python.org/3/library/constants.html#None)*

<a id="ColumnarDataImportDefinition.VariableType"></a>

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

Gets or sets the variable type of the column.