Page 1 of 1

Loading custom lips routines at startup.

PostPosted: Fri Apr 09, 2021 11:52 am
by cbnelson
I am using Carlson Survey 2021 and I created a icad.lsp file in C:\users\.........\sup folder. It worked for a short time. I think when I imported my 2020 profile was the time it quit working.
I reset the profile to the default and the icad.lsp still did not load. I then tried placing a copy in the C:\Program Files\Carlson2021_ICAD10\Support folder and it still did not load. Like I said earlier it worked for short while.

I also use a icaddoc.lsp in the C:\users\.........\sup folder as above, that loads as expected.

Any ideas on how to get the icad.lsp to work?

Re: Loading custom lips routines at startup.

PostPosted: Sun Apr 25, 2021 8:06 pm
by gskelhorn
I would take a look at the search path:
Code: Select all
(getvar "SRCHPATH")


Check each folder in order of listing to find the first location the file icad.lsp exists. This will be the one the program is using. Looking at mine I see it is loading:
Code: Select all
C:\Program Files\Carlson2021_ICAD10\icad.lsp


You'll need to replace the default icad.lsp with your own after each update. Not sure if there is a way to overload the search path for it.