Navisworks Plugins Does not work on all versions

Navisworks Plugins Does not work on all versions

mizrachi_amir2
Advocate Advocate
972 Views
8 Replies
Message 1 of 9

Navisworks Plugins Does not work on all versions

mizrachi_amir2
Advocate
Advocate

Hello,

 

I made a plugin in Visual Studio 2022 which I tested it on Navisworks Manage 2021.

Plugin is located in the Plugin folder in the installation path of Manage 2021 and appears correctly once Manage 2021 is loaded.
But - unfortunately, once I copy my plugin's folder (containing dll and images in it) to the Plugin folder in the installation path of Navis Manage 2022 - plugin does not appear once initiating Manage 2022.

 

What might cause it be shown in Manage 2021 but not in Manage 2022?

 

Thank you,

Amir 

0 Likes
Accepted solutions (1)
973 Views
8 Replies
Replies (8)
Message 2 of 9

tetsuya_miwa
Advocate
Advocate

Plugin is version sensitive. You need to compile for every version.

Message 3 of 9

mizrachi_amir2
Advocate
Advocate

How does a plugin downloaded from Autodesk store work though?

Usually once you download a plugin from the store it will be installed in multiple versions. Meaning that developer uploaded to the store a compiled code per each version?

So if I developed to my client a Navis plugin I need to share with him multiple compiled versions if he'd like it to work on multiple Navis versions? No shortcuts?

0 Likes
Message 4 of 9

tetsuya_miwa
Advocate
Advocate
The non-registration mechanism can work from Navisworks® 2015, while our .NET API of one release is only compatible within one major version. So if your application will support multi-releases, you will need to compile the binaries with each version of .NET API and package them together. The instruction below will indicate how to specify the corresponding binary.

https://aps.autodesk.com/app-store/publisher-center/navisworks

Message 5 of 9

ayelet_hoch_dekel
Explorer
Explorer

Thank you, @tetsuya_miwa.
As I understand this procedure is for uploading my plug-in to the Autodesk App Store.
I there any similar solution to those of us wishing to publish their plug-ins on the App Store?
I tried to create such a .bundle  directory in my %APPDATA%\Autodesk\ApplicationPlugins but plug-in does not appear in my Navis versions.

0 Likes
Message 6 of 9

tetsuya_miwa
Advocate
Advocate

It'll work if PackageContents.xml is correctly defined.

0 Likes
Message 7 of 9

mizrachi_amir2
Advocate
Advocate

I followed this blog and still isn't working.
First I have this in my PackageContents.xml:
Screenshot_1.jpg

Second - I have this in my folder hierarchy:

Screenshot_2.jpg

 

"Contents" is as follows:
Screenshot_3.jpg

And, for instance, I compiled my code for Navis 2021 and copied all files and folders from bin/Debug folder to C:\Users\amir\AppData\Roaming\Autodesk\ApplicationPlugins\<project_name>.bundle\Contents\2021
Screenshot_5.jpgScreenshot_4.jpg

 

But still plugin is not visible in Navis 2021.

Could you please suggest what am I missing her?

0 Likes
Message 8 of 9

tetsuya_miwa
Advocate
Advocate
Accepted solution
Message 9 of 9

mizrachi_amir2
Advocate
Advocate

Thank you, I just missed some files 🙂