08-02-2016 12:28 AM
We would like to deploy the ECW Plugin for AutoCAD 2016 in our company.
Can anybody tell us, how we can change the default Apollo service connection (http://demo-apollo.geospatial.intergraph.com) to our custom Apollo service connection.
We tried to achieve our goal by deploying, during the installation of the plugin, a custom ECWPlugin_ServerHistory.xml file to C:\ProgramData\Hexagon\ECWPluginCAD\V_2015_01\ with our custom Apollo service connection. But as soon the first user loads the plugin, the Apollo service connection is reset to default.
I hope anybody can help us with this matter.
08-02-2016 04:09 AM - edited 08-08-2016 02:02 AM
C:\ProgramData\Hexagon\ECWPluginCAD\V_2015_01\ECWPlugin_UrlHistory.xml is being used to store the Service URLs, which a user is adding by using the PlugIn GUI. But nevertheless it should be possible to use this file in order to provide a set of predefined configurations as you described in your post.
If this file is getting overwritten once you are starting the PlugIn pls. check following:
BTW, by using in AutoCAD the command “ECW_SHOWMESSAGES” you can access as well as export the internal log files generated by the PlugIn – which could also help to nail down the root cause.
08-08-2016 05:28 AM
First of all, thanks for your reply. Unfortunately, your solution did not work for me.
Here's what I tried:
I also tried the other locations, but none were working and the Plugin always created under C:\ProgramData\Hexagon\ECWPluginCAD\V_2015_01 it's default ECWPlugin_UrlHistory.xml file.
08-16-2016 12:33 AM
>> I installed the ERDASECW2015PluginForAutoCAD_X64.msi
>> After the installation I created the folder structure: C:\ProgramData\Hexagon\ECWPluginCAD\V_2015_01.
Can you please try to install it as you did, then start one time AutoCAD and the ECW-Plugin, and after that copy your "ECWPlugin_UrlHistory.xml" file to this destination folder?
- alfred -
08-16-2016 05:40 AM
Yes, this works but this is not what we want.
For our users, we need that the right Service URL is loaded during the first start of the ECW-Plugin.
08-16-2016 05:50 AM
>> Yes, this works but this is not what we want.
Well, this is at least one good answer as we know now that the file itself is working and the preloading of the plugin is finding the correct file.
>> we need that the right Service URL is loaded during the first start of the ECW-Plugin.
Is it just one URL (to one single ECW data) which has to be used as default or do you have multiple different datasets that should be available directly for the first start of the plugin? (just thinking about exchaning the content of the file "APOLLOPluginCAD.dll.config" during your installation process)
- alfred -
08-16-2016 06:22 AM
>> We need just one service URL that should be loaded as default
Within the folder
you'll find different folders for each version of AutoCAD (32bit and 64bit).
In every of that version specific folders a file "APOLLOPluginCAD.dll.config" exists. You may change the setting "EcwpUrlDefault" and use this config-file as your default/in your installation process. These settings will be used for the very first start of the plugin (and you then don't need to create the predefined file in the programdata folder.
I have not tried it now, so please let me know if that works for you (I hope so ).
- alfred -
08-16-2016 07:19 AM
Here is what I did:
I installed AutoCad 2016 x64 + ECWPlugin.
Before I started Autocad for the first time, I modified the APOLLOPluginCAD.dll.config under C:\Program Files\Autodesk\ApplicationPlugins\ECWPluginForAutoCAD.bundle\Contents\bin_20_01_x64.
I played around with the config file by modifying the values in EcwpServerDefault and EcwpUrlDefault.
However, without success.
Could you please try it out, and let me know if the settings are taken into consideration during the first start of AutoCad or not.
Maybe I'm doing something wrong.
08-16-2016 07:27 AM
>> I played around with the config file by modifying the values in EcwpServerDefault and EcwpUrlDefault.
This file is only used for the first start, so for simulating a "clean installation" delete the file
before you restart AutoCAD.
- alfred -