Go Back |
KitCAD 1.1x Help Index
Command Line Switches.
KitCAD.exe and Render.exe both have support for command line
switches. This allows you to enable either a Distributed COM
user share or using something like Net-BIOS (UNC) path names to
achieve a connection. TCP/IP and win sockets have not been used
for connections at the time this document was written.
INSTRUCTIONS ON USE:
Dos command line switches may be required in allowing users to
open, edit, and print files. These switches can be used by
Windows applications or Dos batch files to interact with the
KitCAD application. Also this works over a network or locally
on the server. An example of this would be an Iconic file type
that enables users to click and run. The programs covered here
include the KitCAD.exe, and the Render.exe switches are
something like what follows:
KitCAD.exe FileName /b /d /n /v /3 /r /rx /rxr /s /p /q
Switch order:
FileName- KPD File to Edit, Open, and Print.
/b - System Beep for testing connections.
/d - Starts with drawing dialog (Selection has not been
enabled)
/n - New Plan Drawing and KPD file.
/v - Plan View
/3 - 3D Model View
/r - Reporter View
/rx - Write New DBF file for drawing. (+1.19.2 only)
/rxr - Read Current KitCADX file. (+1.19.2 only)
/s - Save current Plan Drawing to FileName.
/p - Send current screen to the default printer.
/q - Quit KitCAD
Render.exe FileName SaveName /b /q
Switch order:
FileName- *.KPD File type to Edit, Open, and Print
SaveName- *.BMP Bitmapped Image file name to save drawing
as.
/b - System Beep for testing connections.
/q - Quit Render (quits first, used for debug)
Extra notes about KitCAD.exe or Render.exe:
For more information, please see the HTML help file under the
'Advanced users' section about using DCOM for networks or
enabling the registry entries on for KitCAD. KitCAD environment
and features. Using KitCAD.
WRender.exe FileName
Switch order:
FileName- *.KPW dummy file type
Updated on the 27th of June, 2004.