FixedWidthImportSettings#

class ansys.mechanical.stubs.v242.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

ColumnWidths

AverageCornerNodesToMidsideNodes

Count

Gets the number of column definitions.

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.

Format

Gets the existing corresponding format.

Property detail#

property FixedWidthImportSettings.ColumnWidths: System.String | None
property FixedWidthImportSettings.AverageCornerNodesToMidsideNodes: System.Boolean | None
property FixedWidthImportSettings.Count: System.Int32 | None

Gets the number of column definitions.

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

Item property.

property FixedWidthImportSettings.SkipFooter: System.Int32 | None

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

property FixedWidthImportSettings.SkipRows: System.Int32 | None

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

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

Gets the existing corresponding format.

Method detail#

FixedWidthImportSettings.Clear() System.Void
FixedWidthImportSettings.GetEnumerator() System.Collections.Generic.IEnumerator[Ansys.Mechanical.ExternalData.ColumnarDataImportDefinition]
FixedWidthImportSettings.RemoveAt(index: System.Int32) System.Void

Removes the import definition at the specified index.

FixedWidthImportSettings.UseColumn(index: System.Int32, variableType: Ansys.Mechanical.DataModel.MechanicalEnums.ExternalData.VariableType, unit: System.String, name: System.String) Ansys.Mechanical.ExternalData.ColumnarDataSourceBase