ColumnarDataSourceBase

(See 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).

Declaration Syntax

public class ColumnarDataSourceBase : ImportSettingsBase, IEnumerable<ColumnarDataImportDefinition>, IEnumerable

Table 37: Members

Property

Count

Gets the number of column definitions.

Property

Format

Gets the existing corresponding format.

(Inherited from ImportSettingsBase.)

Property

Item

Gets or sets the column definition at the specified order index.

Property

SkipFooter

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

Property

SkipRows

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

Method

Clear()

No details are provided for this entry.

Method

GetEnumerator()

No details are provided for this entry.

Method

RemoveAt(int)

Removes the import definition at the specified index.

Method

UseColumn(int, VariableType, string, string)

Add a column to be imported from the specified data source column index and configured as the specified variable type. The order in which columns are added determines their order in the table/>.

If unit is `null`, the default unit (in the active unit system) for the specified variable type will be assumed during import.

If name is `null` or empty, a unique name will be generated from the specified variableType during import.

A reference to the instance is returned so that invocations can be chained together.