Request a Personalized Demo

Learn how to accurately convert your designs with Scan2CAD

  • This field is for validation purposes and should be left unchanged.
  • Join thousands of happy customers worldwide

Miscellaneous commands

 

The following miscellaneous commands are available for use in a Command File.

 

Remark

No arguments.

Used to add notes to the Command File.

Where a command has arguments, remarks must not be placed between the command and its arguments.

Remark can be replaced by * or ;

Example code:

REMARK Load the raster image floorplan.tif

LOADRASTER

c:\users\username\documents\scan2cadv8\samples\floorplan.tif

* Select suitable vectorization settings

TYPEARCHITECT

* Set suitable OCR settings

OCRSETTINGS

54

6

10

4

1

0

0

1

1

0

0.7

; Vectorize the image

RUNALL

; Save the vectors as floorplan.dxf

SAVEVECTOR

; Exit Scan2CAD

EXIT

 

MinimizeWindow

No arguments.

Minimizes the Scan2CAD window while the Command File is running.

 

MaximizeWindow

No arguments.

Maximizes the Scan2CAD window while the Command File is running.

The maximized Scan2CAD window may not update completely while the Command File is running. This is normal and is not a cause for concern.

 

HideWindow

No arguments.

Hides the Scan2CAD window while the Command File is running.

Note that when HideWindow is invoked you will not be able to use the Esc key to cancel Command File operation.

 

CommandBeep

No arguments.

Will emit a beep wherever encountered during the Command line file run.

If  HideWindow is invoked, it is not always evident when the Command line file has been completed.

Placing CommandBeep before the Exit command will give an audio indication of completion of the Command line file.

 

CloseRaster

No arguments.

Closes the currently loaded raster file.

 

Exit

No arguments.

Exits the Command File and Scan2CAD – normally used as the last command in the Command File.

If you do not use the Exit command Scan2CAD will not be closed when the Command File has finished running. Its window will be maximized and it will remain active.

 

Have questions on this topic? Talk to us