FixedWidthImportSettings#

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

Bases: object

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

Overview#

Clear

GetEnumerator

RemoveAt

Removes the import definition at the specified index.

UseColumn

ColumnWidths

Gets or sets the specified column widths.

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.

PathType

Gets or sets the type of URI provided for Table import.

Property detail#

property FixedWidthImportSettings.ColumnWidths: System.Object | None

Gets or sets the specified column widths. When setting, The value provided to P:Ansys.Mechanical.Table.FixedWidthImportSettings.ColumnWidths may be either: number

property FixedWidthImportSettings.Count: System.Int32 | None

Gets the number of column definitions.

property FixedWidthImportSettings.Item: Ansys.Mechanical.Table.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.Table.ImportFormat | None

Gets the existing corresponding format.

property FixedWidthImportSettings.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

Method detail#

FixedWidthImportSettings.Clear() System.Void
FixedWidthImportSettings.GetEnumerator() System.Collections.Generic.IEnumerator[Ansys.Mechanical.Table.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.Table.VariableType, variableClassification: Ansys.Mechanical.DataModel.MechanicalEnums.Table.VariableClassification, unit: System.String, name: System.String) Ansys.Mechanical.Table.ColumnarDataSourceBase