Page 1 of 2

icad.unt

Posted: Sat May 08, 2021 6:38 am
by InGeomatics
Hi,
I'm converting an app that I did (an lsp app for AutoCAD), so the app can work with IntelliCAD too. But is difficult to find information (or instructions) of how to specify an alternate location for icad.unt. I have to do so because my app needs additional conversion factor for units of area. So, because of lack of information, I assumed that is not possible. No matter what folder I put the file, or what path I configure inside IntelliCAD options, IntelliCAD cant see the file outside the IntelliCAD installation folder. Is that correct? 
But I need to do so because during installation, is very difficult to place an update of icad.unt file inside IntelliCAD installations folders.
Can you help me with this issue?

Re: icad.unt

Posted: Sat May 08, 2021 7:38 pm
by QuanNguyen
Hi,

You can use the command OPTION -> Paths/Files to add any path to the file search path.
Then IntelliCAD can see them.
Something like this:
lisp_path.png
lisp_path.png (20.39 KiB) Viewed 4087 times

Re: icad.unt

Posted: Mon May 10, 2021 7:29 am
by InGeomatics
I hope that works with the new build on may 7 2021. On the previous build, does not work.

Re: icad.unt

Posted: Mon May 10, 2021 7:40 am
by InGeomatics
Sorry!
I tried the new built (may 7 2021) and still not working. icad.unt can't be outside intellicad installation folder. So if you need to customize this file, the user mus install it manually.

Re: icad.unt

Posted: Tue May 11, 2021 1:58 pm
by InGeomatics
QuanNguyen wrote:
Sat May 08, 2021 7:38 pm
Hi,

You can use the command OPTION -> Paths/Files to add any path to the file search path.
Then IntelliCAD can see them.
Something like this:
lisp_path.png
I try it, and as you can see in the other posts, does not work.
The test is very simple: add to your original icad.unt a new conversion factor, and move the file to the location you suggested. Open intelliCAD and use your new conversion unit. You will see the error. Move the file again to the intelliCAD installation folders and will work. But if you are a developer, and need to work with other conversions factors, is not a good idea to make your clients to copy manually that file to the intelliCAD protected location. Is better to handle that process automatically by the installation process. But to use the intelliCAD protected installation folders, as the only way to handle the file, is no an easy task.

Re: icad.unt

Posted: Tue Apr 16, 2024 2:25 pm
by InGeomatics
Version 21.1 and still the same. Not working outside IntelliCAD folders.

Re: icad.unt

Posted: Wed Apr 17, 2024 2:09 am
by SPirou4D
Try other folders.
Personally I use "Support Paths > User Paths":
ScreenShot_20240417100843.jpeg
ScreenShot_20240417100843.jpeg (65.54 KiB) Viewed 74 times

Re: icad.unt

Posted: Wed Apr 17, 2024 3:57 am
by sln8458
This is how my system is set up for lsp files in version 12.1 and appears to work fine.
paths.png
paths.png (42.57 KiB) Viewed 68 times
Possibly put your 'icad.unt' file in one of these??

SteveN

Re: icad.unt

Posted: Wed Apr 17, 2024 5:41 am
by InGeomatics
Thank you for your interest in help. I really appreciate very much.
I added my folder with the customized icad.unt and CMS IntelliCAD still not using my file.
options.png
options.png (25.54 KiB) Viewed 67 times
For all other files, works perfect. The problem is just with the icad.unt
Looks like I will have to add my reginal conversions using other ways.

Re: icad.unt

Posted: Wed Apr 17, 2024 6:51 am
by sln8458
Looking at the file it seems as if only one version is required, all conversion factors in one file.

Just a thought, but have you tried to rename the original file to say icad.unt.org
the re-boot and try again as it may be that it finds the original first and stops looking for your version.


EDIT:
Another thought is to put your file location at the start of the search paths, that is Icad12.1 atm, but re-organise the paths to put yours at the front.

Re: icad.unt

Posted: Wed Apr 17, 2024 7:06 am
by InGeomatics
Thank you for your replay.
I can add my customized conversion factors to the original icad.unt manually without any problem. Also, I can copy the file manually and replace the original with my version. The problem is that the path where the icad.unt is located is restricted for software modifications. So, during (or after) the installation of my tools in another working station, that file is inaccessible. So, it is imposible to do a rename using software. The perfect solution will be to have a setting to set the path like already have for linetypes or LISP.
In AutoCAD, you can just add it to the Support/Search Path and works perfectly.

Re: icad.unt

Posted: Wed Apr 17, 2024 7:23 am
by sln8458
did you try to manually rename then try again?

if that works, then look to reorganise the search paths

Re: icad.unt

Posted: Wed Apr 17, 2024 7:34 am
by InGeomatics
I agree with you, that must be the problem. In AutoCAD, you can reorganize the search paths.
But please, forgive my ignorance, is there a way to reorganize the search path in CMS IntelliCAD?
Please illuminate me.

Re: icad.unt

Posted: Wed Apr 17, 2024 7:37 am
by SPirou4D
InGeomatics wrote:
Wed Apr 17, 2024 7:06 am
In AutoCAD, you can just add it to the Support/Search Path and works perfectly.
To verify if your file is activated, look here after close/re-open your options:
ScreenShot_20240417153850.jpeg
ScreenShot_20240417153850.jpeg (86.63 KiB) Viewed 51 times
If you see your folder it's ok for your lisp script.
Personnally here in France I use "support paths > menu" because the verification work.

Re: icad.unt

Posted: Wed Apr 17, 2024 11:55 am
by sln8458
Have a read here -> viewtopic.php?p=6791&sid=316efd9e7e9b38 ... 4bfc#p6791 <-

Should add the specified path to the begining of the list.