FixedWidthImportSettings#

class ansys.mechanical.stubs.v241.Ansys.Mechanical.ExternalData.FixedWidthImportSettings#

Bases: object

T:Ansys.Mechanical.ExternalData.FixedWidthImportSettings defines how to import external data from a fixed-width source file.

Overview#

Clear

GetEnumerator

RemoveAt

Removes the import definition at the specified index.

UseColumn

AverageCornerNodesToMidsideNodes

ColumnWidths

Count

Gets the number of column definitions.

Format

Gets the existing corresponding format.

Item

Item property.

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 FixedWidthImportSettings.AverageCornerNodesToMidsideNodes: bool | None#
property FixedWidthImportSettings.ColumnWidths: str | None#
property FixedWidthImportSettings.Count: int | None#

Gets the number of column definitions.

property FixedWidthImportSettings.Format: Ansys.Mechanical.DataModel.MechanicalEnums.ExternalData.ImportFormat | None#

Gets the existing corresponding format.

property FixedWidthImportSettings.Item: Ansys.Mechanical.ExternalData.ColumnarDataImportDefinition | None#

Item property.

property FixedWidthImportSettings.SkipFooter: int | None#

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

property FixedWidthImportSettings.SkipRows: int | None#

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

Method detail#

FixedWidthImportSettings.Clear() None#
FixedWidthImportSettings.GetEnumerator() Iterator[Ansys.Mechanical.ExternalData.ColumnarDataImportDefinition]#
FixedWidthImportSettings.RemoveAt(index: int) None#

Removes the import definition at the specified index.

FixedWidthImportSettings.UseColumn(index: int, variableType: Ansys.Mechanical.DataModel.MechanicalEnums.ExternalData.VariableType, unit: str, name: str) Ansys.Mechanical.ExternalData.ColumnarDataSourceBase#