Custom ribbon is not shown after plugin software update

Custom ribbon is not shown after plugin software update

caintknow
Observer Observer
769 Views
2 Replies
Message 1 of 3

Custom ribbon is not shown after plugin software update

caintknow
Observer
Observer

We develop our product called Topcon Exchange for Autocad. It includes .NET based plugins and, for Civil 3D, custom .cuix file. For our new product version we have encountered the following problem: if we install new version without uninstalling the old one and then running Civil 3D to clean things up, then our custom tab is not shown and it requires to unload the .cuix file manually and then load it again, using CUILOAD command for all these operations. I.e. we see the following:
Install old plugin version->Run Civil 3d->Close Civil 3D->Install new plugin version->Run Civil 3d->No Topcon ribbon tab is shown.
Install old plugin version->Run Civil 3d->Close Civil 3D->Uninstall old plugin version->Run Civil 3d->Close Civil 3D->Install new plugin version->Run Civil 3d->Topcon ribbon tab is shown correctly.
Install old plugin version->Run Civil 3d->Close Civil 3D->Install new plugin version->Run Civil 3d->No Topcon ribbon tab is shown->Run CUILOAD, unload Topcon cuix file, load Topcon cuix file again->Topcon ribbon tab is shown correctly.
Most probably the reason is that in the new version we have renamed the .cuix file and renamed the customization group root, but anyway we would like to have some other solution than to force users to reload the .cuix file manually.

0 Likes
770 Views
2 Replies
Replies (2)
Message 2 of 3

Anne165Hernadez
Community Visitor
Community Visitor

Hello!

The issue with the Topcon Exchange for AutoCAD plugin stems from renaming the .cuix file and customization group root in the new version. To resolve this without manual intervention, consider automating the CUILOAD process via a script, using custom installer actions to remove the old .cuix file, cleaning up registry entries, implementing a version check to handle the file transition, or providing clear user instructions for manual reloading. These steps can streamline the update process and ensure the custom ribbon is displayed correctly.

 

 

I hope this helps!

Go to Mary Kay Intouch

0 Likes
Message 3 of 3

andrewpuller3811
Advisor
Advisor

Within the PackageContents.xml file of your bundle, do you have LoadOnAutoCADStartup="True" in your entry for the cuix?



If a post provides a fix for your issue, click on "Accept as Solution" to help other users find solutions to problems they might have that are similar to yours.

Andrew Puller
Maitland, NSW, Australia
Windows 11
Intel core i7 11800 @ 2.30 GHz with 32GB Ram
Civil 3d 2023
0 Likes