SDTS Topological Vector Profile [.TVP] 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,AreasToCurves=1"
This would first set all import options to their default values, then set the AreasToCurves option value to one, which would specify that any areas imported be converted to curves (lines).
Option |
Action |
Default |
Description |
AreasToCurves |
0 = No 1 = Yes |
0 |
Convert all polygons to polylines. |
WhichLines |
0 = Import all lines 1 = Import only freestanding lines 2 = Import no lines |
0 |
Specifies which lines from the file are to be imported. |
WhichNodes |
0 = Import all nodes 1 = Import no nodes |
0 |
Specifies whether nodes (points) from the file are to be imported. |
WhichAreas |
0 = Import all areas 1 = Import no areas |
0 |
Specifies whether ares from the file are to be imported. |
WhichText |
-2 = Import all text -1 = Import no text N = any other value indicates which specific text group number to import |
-2 |
Specifies which text group from the file is to be imported. For example, use WhichText=3 to import only the text from group 3. |