progeCAD support, tips and troubleshooting forum. progeCAD works very similar to some versions of AutoCAD. Moderated.

Moderators: caddit, Moderators

#1202 by ftauto
Fri Aug 13, 2010 11:30 am
Hello,

how can i start progeCad by arguments ?

for excample icad.exe /? for template or start script or start vba.

Thank you
#1203 by caddit
Fri Aug 13, 2010 2:40 pm
Welcome ftauto,


Yes, you can start progeCAD different ways by invoking icad.exe with different command-line switches. Note progeCAD and IntelliCAD command line options are about the same. A few of these are more documented than others, and this list is by no means exhaustive:

  • icad.exe <filename.dwg> - open DWG "filename.dwg" at start
  • icad.exe /b <script.scr> - open script "script.scr" at start
  • icad.exe /p <myprofile> - start up progeCAD with profile "myprofile"
    (note: also in AutoCAD)
  • icad.exe /l - Similar to AutoCAD /nologo switch - disables splash

There are probably others. Note progeCAD 2010 uses /l instead of AutoCAD's /nologo startup switch. I would use the /b option to call a script that wraps your VBI call. You can use <install-folder>\icad.lsp to automatically run lisp commands at the startup of every progeCAD session. Used together and in tandem with /p, you can realize many different startup environments..