Page 1 of 1

Registry Entry Applications load

Posted: Tue May 05, 2020 4:34 am
by dev.al
Dear forum members

We are in the process of making ARX plugins IRX compatible and use CMS 9.2.

On AutoCAD we have a registry entry in the Autodesk folder called "Applications". These are the autoload dll's.
With CMS I can not find such a folder.
In this way we load our loader (.dll) for our plugins. It works perfectly on AutoCAD. How can I do this on CMS?

Regentry Path for AutoCAD:
Computer\HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\Rxx.x\ACAD-xxxx:xxx\Applications

Re: Registry Entry Applications load

Posted: Tue May 05, 2020 5:40 am
by QuanNguyen
Please refer the document from the document API.

.....
When IntelliCAD is installed, a directory named 'ApplicationPlugins' will be created on the same level as the icad.exe executable file. A new directory under this one MUST be created with a unique name. Perhaps the directory name could be your company name, or even just the name of the app it stores, but your application(s) MUST be in a subdirectory under the 'ApplicationPlugins' director.

In addition to your application(s), your unique directory must contain a file named
'PackageContents.xml'. This file has content simalar to the following:

<?xml version="1.0" encoding="utf-8"?>
<ApplicationPackage SchemaVersion="1.0">
<Components>
<ComponentEntry AppName="DotNetExamples" ModuleName ="DotNetExamples.dll">
</ComponentEntry>
</Components>
</ApplicationPackage>

....

Re: Registry Entry Applications load

Posted: Tue May 05, 2020 5:46 am
by dev.al
QuanNguyen wrote:
Tue May 05, 2020 5:40 am
Please refer the document from the document API.

.....
When IntelliCAD is installed, a directory named 'ApplicationPlugins' will be created on the same level as the icad.exe executable file. A new directory under this one MUST be created with a unique name. Perhaps the directory name could be your company name, or even just the name of the app it stores, but your application(s) MUST be in a subdirectory under the 'ApplicationPlugins' director.

In addition to your application(s), your unique directory must contain a file named
'PackageContents.xml'. This file has content simalar to the following:

<?xml version="1.0" encoding="utf-8"?>
<ApplicationPackage SchemaVersion="1.0">
<Components>
<ComponentEntry AppName="DotNetExamples" ModuleName ="DotNetExamples.dll">
</ComponentEntry>
</Components>
</ApplicationPackage>

....
Thanks a lot for your reply.
Our Plugins are not dotnet. Its C++ Visual Studio ObjectARX.
How we have to load it for C++ IRX API? I couldnt read anything in the ICRX or IRX Api.
We would like to load our modules on IntelliCAD startup via Registry entry. (Like on BricsCAD or AutoCAD)

Solution B
https://knowledge.autodesk.com/support/ ... toCAD.html


Is this possible?

Re: Registry Entry Applications load

Posted: Thu May 07, 2020 9:08 am
by jsmith
CMS IntelliCAD has similar to OtherCAD way of auto-loading .irx applications using registry:
viewtopic.php?p=6526

Please note that custom applications needs to be ported and rebuilt using CMS IntelliCAD to make them work inside CMS IntelliCAD.

Re: Registry Entry Applications load

Posted: Thu May 07, 2020 10:29 am
by dev.al
jsmith wrote:
Thu May 07, 2020 9:08 am
CMS IntelliCAD has similar to OtherCAD way of auto-loading .irx applications using registry:
viewtopic.php?p=6526

Please note that custom applications needs to be ported and rebuilt using CMS IntelliCAD to make them work inside CMS IntelliCAD.
That is what I am looking for, thank you!