DelimitedImportSettings#
- class ansys.mechanical.stubs.v251.Ansys.Mechanical.ExternalData.DelimitedImportSettings#
Bases:
objectdefines how to import external data from a delimited source file.
Overview#
Equals method. |
|
GetHashCode method. |
|
GetType method. |
|
Removes the import definition at the specified index. |
|
ToString method. |
|
Add a column to be imported from the specified data source column index and configured |
If set to Yes, the data at Midside nodes is calculated as average of data specified at corner nodes. |
|
Gets the number of column definitions. |
|
The delimiter used to separate columns. |
|
Gets the existing corresponding format. |
|
Item property. |
|
Gets or sets the number of rows to ignore at the end of the file during import. |
|
Gets or sets the number of rows to skip over at the start of the file during import. |
Property detail#
- property DelimitedImportSettings.AverageCornerNodesToMidsideNodes: bool | None#
If set to Yes, the data at Midside nodes is calculated as average of data specified at corner nodes.
Defaults to False.
This property is used only when there is another external data file defined with MAPDL import format.
- property DelimitedImportSettings.Format: Ansys.Mechanical.DataModel.MechanicalEnums.ExternalData.ImportFormat | None#
Gets the existing corresponding format.
- property DelimitedImportSettings.Item: Ansys.Mechanical.ExternalData.ColumnarDataImportDefinition | None#
Item property.
Gets or sets the number of rows to ignore at the end of the file during import.
Method detail#
- DelimitedImportSettings.GetEnumerator() Iterator[Ansys.Mechanical.ExternalData.ColumnarDataImportDefinition]#
- DelimitedImportSettings.RemoveAt(index: int) None#
Removes the import definition at the specified index.
- DelimitedImportSettings.UseColumn(index: int, variableType: Ansys.Mechanical.DataModel.MechanicalEnums.ExternalData.VariableType, unit: str, name: str) Ansys.Mechanical.ExternalData.ColumnarDataSourceBase#
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.