Loading applications at startup using file

#1
A application path can be specified in file located in the path with icad.exe. It can be simple file with list of applications paths to be load, or a LISP file to execute at startup.

Files with applications path
  • icad.sds
    icad.irx
    icad.net
Example: icad.irx or icad.sds

Code: Select all

C:\IntelliCAD\Source\IntelliCAD\api\icrx\samples\IRXCustomEntity\ProjectFiles\x64\Release\IRXCustomEntity_4.3_15.irx
C:\SomeSdsApplication\SomeSdsApplication.dll
Example: icad.net

Code: Select all

C:\IntelliCAD\Source\Build\VC.v141\IntelliCAD.Pro.64bit\DotNetExamples.dll
C:\OtherDotNetApplication\OtherDotNetApplication.dll
Example: icad.irx

Code: Select all

C:\IntelliCAD\Source\Build\VC.v141\IntelliCAD.Pro.64bit\DotNetExamples.dll
C:\IntelliCAD\Source\IntelliCAD\api\icrx\samples\IRXCustomEntity\ProjectFiles\x64\Release\IRXCustomEntity_4.3_15.irx
LISP Files
icad.lsp - The code from this file executes ones at startup.
icaddoc.lsp - The code from this file executes for each created/opened drawing.
Example: icad.lsp

Code: Select all

(xload "C:\\IntelliCAD\\Source\\IntelliCAD\\api\\icrx\\samples\\IRXCustomEntity\\ProjectFiles\\x64\\Release\\IRXCustomEntity_4.3_15.irx")
(xload "C:\\IntelliCAD\\Source\\Build\\VC.v141\\IntelliCAD.Pro.64bit\\DotNetExamples.dll")