Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Addin is loading and working on development PC but not at the operators PC

3 REPLIES 3
Reply
Message 1 of 4
nucleusgmbh
278 Views, 3 Replies

Addin is loading and working on development PC but not at the operators PC

nucleusgmbh
Contributor
Contributor

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?

0 Likes

Addin is loading and working on development PC but not at the operators PC

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?

Labels (1)
3 REPLIES 3
Message 2 of 4

bradeneuropeArthur
Mentor
Mentor

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 !

0 Likes

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 !

Message 3 of 4

nucleusgmbh
Contributor
Contributor

.net 4.7.2

 

Strange thing is, when I compile the exact same code on another machine, it's working.

0 Likes

.net 4.7.2

 

Strange thing is, when I compile the exact same code on another machine, it's working.

Message 4 of 4

bradeneuropeArthur
Mentor
Mentor

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 !

0 Likes

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.

Post to forums  

Autodesk Design & Make Report