Import(string, ImportFormat, ImportSettingsBase)

Import data from the provided resource into the table as specified by format and settings. The column definitions in settings will be used to define the variable type for each column. If the table already contains a variable type, that column will be overwritten by the new definition.

When (See Ansys.ACT.Automation.Mechanical.Table.IsStrictSizing) is true, (See Ansys.ACT.Automation.Mechanical.Table.Import(System.String,Ansys.Mechanical.DataModel.MechanicalEnums.Table.ImportFormat,Ansys.Mechanical.Table.ImportSettingsBase)) will verify that the row count of imported data are equivalent to the existing table row count. The operation will fail if there is a length mismatch. Conversely, when (See Ansys.ACT.Automation.Mechanical.Table.IsStrictSizing) is false, a Mechanical warning message will be issued when any of the data sources are different from each other or the table.

If all the arguments are `null` (Python: `None`) then the stored values will be used, essentially re-syncing the table data to the external sources.

Declaration Syntax

public virtual IList<IDataSeries> Import(string dataURI, ImportFormat format, ImportSettingsBase settings)

Parameters

dataURI(string)

The URI of the data source to import.

format(ImportFormat)

The format of the data source.

settings(ImportSettingsBase)

The settings for how to import.