Formatted Text Grid [.CSV, .DAT, .FTG, .TXT] Import Automation Options
Since the Import Options dialog is not displayed when the program is driven from an automation script, an options string can be specified in the script. The string consists of comma-separated parameters, which specify the behavior of the various import options. A typical example would be:
"Defaults=1,XFromFile=True"
This would first set all import options to their default values, then set the XFromFile option value to True, which would specify that the x-coordates are read from the first row of the file.
Option |
Action |
Default |
Description |
Defaults |
0 = No 1 = Yes |
0 |
When set to 1, the default import options will be applied. |
XFromFile |
0 = No 1 = Yes |
0 |
When set to 0, the x-axis coordinates are specified by the XOrigin and XStep values. When set to 1, the x-axis coordinates are read from the first row/column of the file. |
YFromFile |
0 = No 1 = Yes |
0 |
When set to 0, the y-axis coordinates are specified by the YOrigin and YStep values. When set to 1, the y-axis coordinates are read from the first row/column of the file. |
XOrigin |
0 |
This is the minimum x-axis coordinate value |
|
YOrigin |
0 |
This is the minimum y-axis coordinate value |
|
XStep |
1 |
This is the incremental amount by which the x-axis value increases with each row/column. |
|
YStep |
1 |
This is the incremental amount by which the y-axis value increases with each row/column. |
|
NoData |
1.40141E+38 |
This is the value that is inserted when a non-numeric or missing node is encountered. |
|
SkipLines |
0 |
This is the number of lines to skip at the beginning of the file. |
|
AxisFlip |
0 = No 1 = Yes |
0 |
When set to 0, x-axis advances by column, and y-axis advances by row. When set to 1, x-axis advances by row, and y-axis advances by column. |
See Also
TXT Formatted Text Grid [.FTG, .CSV, .DAT, .TXT] File Description