Hi guys,
I made an addin for Inventor 2020. It is working on my dev-computer without any problems, but it's not running on the real cad-computers.
I have a try catch in my activate procedure but it's not throwing anything.
I do see the addin on the extension window, but it's not loaded. I can click "loaded" but it gets directly disabled again.
My *.addin file looks like this:
<?xml version="1.0" encoding="utf-8"?>
<Addin Type="Standard">
<ClassId>{2F660857-6C9C-4974-9264-937D129C41B8}</ClassId>
<ClientId>{2F660857-6C9C-4974-9264-937D129C41B8}</ClientId>
<DisplayName>ERP-Addin</DisplayName>
<Description>ERP-Addin</Description>
<Assembly>PATH TO DLL\NucleusERPAddin.dll</Assembly>
<SupportedSoftwareVersionGreaterThan>17..</SupportedSoftwareVersionGreaterThan>
<LoadOnStartUp>1</LoadOnStartUp>
<Hidden>0</Hidden>
</Addin>
I'm using the same guid in my source "[GuidAttribute("2F660857-6C9C-4974-9264-937D129C41B8")]"
I don't really know how to debug it. Is there any way the inventor could output a log file with some information why it is not loading my addin?
Hi guys,
I made an addin for Inventor 2020. It is working on my dev-computer without any problems, but it's not running on the real cad-computers.
I have a try catch in my activate procedure but it's not throwing anything.
I do see the addin on the extension window, but it's not loaded. I can click "loaded" but it gets directly disabled again.
My *.addin file looks like this:
<?xml version="1.0" encoding="utf-8"?>
<Addin Type="Standard">
<ClassId>{2F660857-6C9C-4974-9264-937D129C41B8}</ClassId>
<ClientId>{2F660857-6C9C-4974-9264-937D129C41B8}</ClientId>
<DisplayName>ERP-Addin</DisplayName>
<Description>ERP-Addin</Description>
<Assembly>PATH TO DLL\NucleusERPAddin.dll</Assembly>
<SupportedSoftwareVersionGreaterThan>17..</SupportedSoftwareVersionGreaterThan>
<LoadOnStartUp>1</LoadOnStartUp>
<Hidden>0</Hidden>
</Addin>
I'm using the same guid in my source "[GuidAttribute("2F660857-6C9C-4974-9264-937D129C41B8")]"
I don't really know how to debug it. Is there any way the inventor could output a log file with some information why it is not loading my addin?
What framework version is the add-in build/made with?
Is this also available on the other machines?
Is the inventor version for both machines the same and also the update version?
Are the add in files deployed correctly?
1) Build Project;
2) Copy add-in dll file to one of following locations:
a) Anywhere, then *.addin file <Assembly> setting should be updated to the full path including the dll name
b) Inventor <InstallPath>\bin\ folder, then *.addin file <Assembly> setting should be the dll name only: <AddInName>.dll
c) Inventor <InstallPath>\bin\XX folder, then *.addin file <Assembly> setting shoule be a relative path: XX\<AddInName>.dll
3) Copy.addin manifest file to one of following locations:
a) Inventor Version Dependent
Windows XP:
C:\Documents and Settings\All Users\Application Data\Autodesk\Inventor 2012\Addins\
Windows7/Vista:
C:\ProgramData\Autodesk\Inventor 2012\Addins\
b) Inventor Version Independent
Windows XP:
C:\Documents and Settings\All Users\Application Data\Autodesk\Inventor Addins\
Windows7/Vista:
C:\ProgramData\Autodesk\Inventor Addins\
c) Per User Override
Windows XP:
C:\Documents and Settings\<user>\Application Data\Autodesk\Inventor 2012\Addins\
Windows7/Vista:
C:\Users\<user>\AppData\Roaming\Autodesk\Inventor 2012\Addins\
4) Startup Inventor, the AddIn should be loaded
Regards,
Arthur Knoors
Autodesk Affiliations:
Autodesk Software:Inventor Professional 2024 | Vault Professional 2022 | Autocad Mechanical 2022
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:Drawing List!|Toggle Drawing Sheet!|Workplane Resize!|Drawing View Locker!|Multi Sheet to Mono Sheet!|Drawing Weld Symbols!|Drawing View Label Align!|Open From Balloon!|Model State Lock!
Posts and Ideas:Dimension Component!|Partlist Export!|Derive I-properties!|Vault Prompts Via API!|Vault Handbook/Manual!|Drawing Toggle Sheets!|Vault Defer Update!
! For administrative reasons, please mark a "Solution as solved" when the issue is solved !
What framework version is the add-in build/made with?
Is this also available on the other machines?
Is the inventor version for both machines the same and also the update version?
Are the add in files deployed correctly?
1) Build Project;
2) Copy add-in dll file to one of following locations:
a) Anywhere, then *.addin file <Assembly> setting should be updated to the full path including the dll name
b) Inventor <InstallPath>\bin\ folder, then *.addin file <Assembly> setting should be the dll name only: <AddInName>.dll
c) Inventor <InstallPath>\bin\XX folder, then *.addin file <Assembly> setting shoule be a relative path: XX\<AddInName>.dll
3) Copy.addin manifest file to one of following locations:
a) Inventor Version Dependent
Windows XP:
C:\Documents and Settings\All Users\Application Data\Autodesk\Inventor 2012\Addins\
Windows7/Vista:
C:\ProgramData\Autodesk\Inventor 2012\Addins\
b) Inventor Version Independent
Windows XP:
C:\Documents and Settings\All Users\Application Data\Autodesk\Inventor Addins\
Windows7/Vista:
C:\ProgramData\Autodesk\Inventor Addins\
c) Per User Override
Windows XP:
C:\Documents and Settings\<user>\Application Data\Autodesk\Inventor 2012\Addins\
Windows7/Vista:
C:\Users\<user>\AppData\Roaming\Autodesk\Inventor 2012\Addins\
4) Startup Inventor, the AddIn should be loaded
Regards,
Arthur Knoors
Autodesk Affiliations:
Autodesk Software:Inventor Professional 2024 | Vault Professional 2022 | Autocad Mechanical 2022
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:Drawing List!|Toggle Drawing Sheet!|Workplane Resize!|Drawing View Locker!|Multi Sheet to Mono Sheet!|Drawing Weld Symbols!|Drawing View Label Align!|Open From Balloon!|Model State Lock!
Posts and Ideas:Dimension Component!|Partlist Export!|Derive I-properties!|Vault Prompts Via API!|Vault Handbook/Manual!|Drawing Toggle Sheets!|Vault Defer Update!
! For administrative reasons, please mark a "Solution as solved" when the issue is solved !
.net 4.7.2
Strange thing is, when I compile the exact same code on another machine, it's working.
.net 4.7.2
Strange thing is, when I compile the exact same code on another machine, it's working.
Then your location will be wrong where you put the file.
Where do you copy the dll file to?
Where do you copy the addin file to?
Regards,
Arthur Knoors
Autodesk Affiliations:
Autodesk Software:Inventor Professional 2024 | Vault Professional 2022 | Autocad Mechanical 2022
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:Drawing List!|Toggle Drawing Sheet!|Workplane Resize!|Drawing View Locker!|Multi Sheet to Mono Sheet!|Drawing Weld Symbols!|Drawing View Label Align!|Open From Balloon!|Model State Lock!
Posts and Ideas:Dimension Component!|Partlist Export!|Derive I-properties!|Vault Prompts Via API!|Vault Handbook/Manual!|Drawing Toggle Sheets!|Vault Defer Update!
! For administrative reasons, please mark a "Solution as solved" when the issue is solved !
Then your location will be wrong where you put the file.
Where do you copy the dll file to?
Where do you copy the addin file to?
Regards,
Arthur Knoors
Autodesk Affiliations:
Autodesk Software:Inventor Professional 2024 | Vault Professional 2022 | Autocad Mechanical 2022
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:Drawing List!|Toggle Drawing Sheet!|Workplane Resize!|Drawing View Locker!|Multi Sheet to Mono Sheet!|Drawing Weld Symbols!|Drawing View Label Align!|Open From Balloon!|Model State Lock!
Posts and Ideas:Dimension Component!|Partlist Export!|Derive I-properties!|Vault Prompts Via API!|Vault Handbook/Manual!|Drawing Toggle Sheets!|Vault Defer Update!
! For administrative reasons, please mark a "Solution as solved" when the issue is solved !
Can't find what you're looking for? Ask the community or share your knowledge.