Skip to main content

Mechanical scripting interface

DelimitedImportSettings

Last update: 14.01.2025

class Ansys.Mechanical.Table.DelimitedImportSettings

Bases: object

T:Ansys.Mechanical.Table.DelimitedImportSettings defines how to import data from a delimited source for tabular data.

Overview

Methods

Name Description
Clear
GetEnumerator
RemoveAt Removes the import definition at the specified index.
UseColumn

Properties

Name Description
Count Gets the number of column definitions.
Delimiter The delimiter used to separate columns.
Format Gets the existing corresponding format.
Item Item property.
PathType Gets or sets the type of URI provided for Table import.
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.

Property detail

property DelimitedImportSettings.Count : int | None

Gets the number of column definitions.

property DelimitedImportSettings.Delimiter : str | None

The delimiter used to separate columns.

property DelimitedImportSettings.Format : Ansys.Mechanical.DataModel.MechanicalEnums.Table.ImportFormat | None

Gets the existing corresponding format.

property DelimitedImportSettings.Item : Ansys.Mechanical.Table.ColumnarDataImportDefinition | None

Item property.

property DelimitedImportSettings.PathType : Ansys.Mechanical.DataModel.MechanicalEnums.Common.PathType | None

Gets or sets the type of URI provided for Table import. Default: F:Ansys.Mechanical.DataModel.MechanicalEnums.Common.PathType.Absolute

property DelimitedImportSettings.SkipFooter : int | None

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

property DelimitedImportSettings.SkipRows : int | None

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

Method detail

DelimitedImportSettings.Clear()

DelimitedImportSettings.GetEnumerator()

DelimitedImportSettings.RemoveAt(index: int)

Removes the import definition at the specified index.

DelimitedImportSettings.UseColumn(index: int, variableType: Ansys.Mechanical.DataModel.MechanicalEnums.Table.VariableType, variableClassification: Ansys.Mechanical.DataModel.MechanicalEnums.Table.VariableClassification, unit: str, name: str)