I'm netloading a .NET dll, and need to change the file name depending on whether the user is running bricscad or autocad. I'm having trouble figuring out how to test that though.
What expressions can I use in place of isAutoCAD and isBricsCAD?
(if (isAutoCAD)
(setq dllName "App_AutoCAD.dll")
)
(if (isBricsCAD)
(setq dllName "App_Bricscad.dll")
)
;; netload the dll
(setq dllPath (strcat installFolder "/" dllName))
(command "._NETLOAD" dllPath)