AUTOMATIC MODE

 

We have included a special feature that allows the program to run in AUTOMODE. 

 

In this mode, the program will

 

·         automatically process the DXF file

·         then unload itself from memory

 

Since the program always builds logs, information about the last conversion process can be viewed in the dxf2sv.log file after the process is complete.

 

ENABLING AUTOMODE

To run in AUTOMODE include the following switch on the command line when starting the program:  /automode

 

 

CONFIGURING FOR AUTOMODE

The program expects to find the INI-style configuration file mentioned above (dxf2sv.cfg).  To control the program from another program, first setup this configuration file using your external program.

 

You can examine the dxf2sv.cfg file in the program’s folder (probably DXF2SV) to see how to emulate the format.  The file data will look something like this:

 

[File Setup]

Incoming DXF File=c:\autocad.dxf

Outgoing Supravision File=c:\supravision.$$$

 

[DXF Conversion Setup]

Search Layer=TUBE

Assume Units=1

Intersection Tolerance=0.01000000

Use Internal Arcs For Radii=1

External Radius=0.00000000

Internal Radius Layer=ARC

 

[Supravision Conversion Setup]

Drawing Number=

Convert To Units=0

Diameter Unit=0

Diameter=0.00000000

Include Diameter=1

Include Length=1

 

 

 

 

NOTES ABOUT THE CFG FILE FORMAT

 

 

·         The sections (in the square brackets) can come in any order in the file.  An example section is [File Setup].

·         Empty rows do not matter.  (You can skip as many rows as you like.  Or you can make no empty rows.)

·         The variable names (like “Incoming DXF File”) should be entered with correct spelling and exact spaces followed by an equal sign.  For example “IncomingDXFFile=” is not a correct variable name and will be ignored.

·         Capitalization of the section and property names does not matter.  Be as creative as you wish in capitalization, since DXF2SV ignores upper or lower case differences.