Page 1 of 1

Loading applications at startup using file

Posted: Thu May 07, 2020 9:20 am
by CMS Inc
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")