ColumnarDataImportDefinition#

class ansys.mechanical.stubs.v251.Ansys.Mechanical.ExternalData.ColumnarDataImportDefinition(index: int, variableType: Ansys.Mechanical.DataModel.MechanicalEnums.ExternalData.VariableType, unit: str, name: str, userFieldVariable: str)#

Bases: object

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

Overview#

Equals

Equals method.

GetHashCode

GetHashCode method.

GetType

GetType method.

ToString

ToString method.

Index

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

Name

Gets or sets an identifier for the data source column.

Unit

Gets or sets the unit of the column.

UserFieldVariable

Gets or sets the user field variable type as a string for the column.

VariableType

Gets or sets the variable type of the column.

Property detail#

property ColumnarDataImportDefinition.Index: int | None#

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

property ColumnarDataImportDefinition.Name: str | None#

Gets or sets an identifier for the data source column.

property ColumnarDataImportDefinition.Unit: str | None#

Gets or sets the unit of the column.

property ColumnarDataImportDefinition.UserFieldVariable: str | None#

Gets or sets the user field variable type as a string for the column.

This property is only used when VariableType is UserField.

property ColumnarDataImportDefinition.VariableType: Ansys.Mechanical.DataModel.MechanicalEnums.ExternalData.VariableType | None#

Gets or sets the variable type of the column.

Method detail#

ColumnarDataImportDefinition.Equals(obj: Any) bool#

Equals method.

ColumnarDataImportDefinition.GetHashCode() int#

GetHashCode method.

ColumnarDataImportDefinition.GetType() type#

GetType method.

ColumnarDataImportDefinition.ToString() str#

ToString method.