tread#

Mapdl.tread(par='', fname='', ext='', nskip='', **kwargs)#

Reads data from an external file into a table array parameter.

APDL Command: *TREAD

Parameters:
par

Table array parameter name as defined by the *DIM command.

fname

File name and directory path (248 characters maximum, including the characters needed for the directory path). An unspecified directory path defaults to the working directory; in this case, you can use all 248 characters for the file name.

ext

Filename extension (eight-character maximum).

nskip

Number of comment lines at the beginning of the file being read that will be skipped during the reading. Default = 0.

Notes

Use this command to read in a table of data from an external file into an ANSYS table array parameter. The external file may be created using a text editor or by an external application or program. The external file must be in tab-delimited, blank-delimited, or comma-delimited format to be used by *TREAD. The ANSYS TABLE type array parameter must be defined before you can read in an external file. See *DIM for more information.

This command is not applicable to 4- or 5-D tables.