![]()
Scan2CAD can be executed from a command line:
path\scan2cadv8\scan2cadv8.exe (Please note that you must include the full path.)
Using a Command FileWhen you execute Scan2CAD from a command line you can control its execution by using a Command File. This is a text file of any name that is passed to Scan2CAD as a single argument on the command line:
“path\scan2cadv8\scan2cadv8.exe” “path\scan2cadv8\commands.txt” (Please note that you must include the full paths.)
The Command File lists the Scan2CAD commands that should be executed. Click here for a list of available commands. When you execute Scan2CAD using a Command File, the Scan2CAD window appears momentarily full screen and is then minimized onto the Task Bar. When execution is complete it is removed from the Task Bar.
You can cancel the execution of a Command File at any time by pressing the Esc key.
Writing a Command File
Do not leave blank lines between commands or use tabs or spaces in front of a command. Enter commands in a logical order. For example, you need load a raster image before you can process it in any way.
Each argument must be on a separate line, with the first argument immediately following the command. For example: OCRSETTINGS 54 6 10 4 1 0 0 1 1 0 0.7
Do not leave blank lines between arguments or use tabs or spaces in front of arguments. Only enter the argument value into the Command File, not its name. Make sure you have used ALL the arguments associated with a command.
Command File example* Load the raster image floorplan.tif LOADRASTER c:\users\username\documents\scan2cadv8\samples\floorplan.tif * Smooth and despeckle SMOOTH REMOVESPECKLES 6 * Select suitable vectorization settings TYPEARCHITECT * Set suitable OCR settings OCRSETTINGS 54 6 10 4 1 0 0 1 1 0 0.7 * Vectorize RUNALL * Save the vectors as floorplan.dxf SAVEVECTOR * Exit Scan2CAD EXIT
Troubleshooting
|
Run Scan2CAD from a command line
Have questions on this topic? Talk to us