Add-In compatibility with elder versions of Inventor

Add-In compatibility with elder versions of Inventor

Anonymous
Not applicable
779 Views
3 Replies
Message 1 of 4

Add-In compatibility with elder versions of Inventor

Anonymous
Not applicable

Hey Inventor masters,

 

I've written an Add-in for Inventor using the Inventor 2018 Add-In template from the SDK that was delivered with the installation of inventor 2018.

The add-in i've written is meant for corporate use and the corporation that i wrote it for still uses Inventor 2017. When i transfer the Add-in from my personal laptop to the workstations it says the add-inn stays unloaded (even after loading it manually). Is there a way of 'downgrading' the inventor dependency so that it also works on the 2017 version?

I've tried installing the 2017 SDK template but it says i can't because a newer version was already installed. There is no uninstal button (at least not that i found) to uninstall the 2018 template and install the 2017 template and copy the code?

 

My *.addin file:

<Addin Type="Standard">
  <!--Created for Autodesk Inventor Version 22.0-->
  <ClassId>{230cac1d-5709-4684-817a-5f95cf1ab8ee}</ClassId>
  <ClientId>{230cac1d-5709-4684-817a-5f95cf1ab8ee}</ClientId>
  <DisplayName>InventorAddIn2</DisplayName>
  <Description>InventorAddIn2</Description>
  <Assembly>InventorAddIn2.dll</Assembly>
  <LoadOnStartUp>1</LoadOnStartUp>
  <UserUnloadable>1</UserUnloadable>
  <Hidden>0</Hidden>
  <SupportedSoftwareVersionGreaterThan>20..</SupportedSoftwareVersionGreaterThan>
  <DataVersion>1</DataVersion>
  <UserInterfaceVersion>1</UserInterfaceVersion>
</Addin>
0 Likes
780 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable

I found how to uninstall the developertools 2018 and installed the 2017 tools. Now the add-in wont load on my 2018 inventor. I need the add-in to work on both versions.

0 Likes
Message 3 of 4

Anonymous
Not applicable

When converting it to a VBA Macro i get no issues running it. Is it wise to keep it as a macro or should i try to fix the issue with the add-in? 

Are there noticable downsides to using a macro and not a Add-in? like performance wise, is a macro slower (macro/add-in is used for coloring assemblies in drawings, which can get pretty intensive when it is a big drawing (many parts)).

Opinions/ thoughts or possible solutions to the above stated problem are widely appreciated.

0 Likes
Message 4 of 4

rmerlob
Advocate
Advocate

Sorry for resurrecting this but I have the same issue with inventor 2020 and 2018 and can't find the answer anywhere.

 

Can anyone help?

 

I need to run both versions, changing the supported software version makes it appear on the Add-in manager but it wont load when checking the box.

 

Cheers,

 

RM

0 Likes