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: 

Anyway to clear my addin?

2 REPLIES 2
Reply
Message 1 of 3
Gruff
249 Views, 2 Replies

Anyway to clear my addin?

I wrote a new addin for 2014.  Did a copy and paste of some earlier code.

compiled and moved the files to the relevant autodesk folders.

 

Realized I had reused a ClassID Guid on my new button.

 

Changed the guid to be the new addin class ID.

 

Now my button does not show up at all.

Tried unloading and reloading the addin several times.

 

How do I clear the button completely from Inventor so I can get the proper guid in place?

 

 

2 REPLIES 2
Message 2 of 3
philippe.leefsma
in reply to: Gruff

Buttons are not persisted across sessions, so you probably made a mistake somewhere else that causes the button not to show up... Did you try debugging in the code and see if you could spot the issue? Are you sure you are not using duplicate internal names?

 

Regards,

Philippe.



Philippe Leefsma
Developer Technical Services
Autodesk Developer Network

Message 3 of 3
Gruff
in reply to: Gruff

Actually the only change I made was to correct the GUID.  Nothing else.

 

I ended up deleting the addin files from disk.  started and shut down inventor without my addin.

recompiled my add in.  Re-Copied the addin files to inventor.

 

Poof.  Everything works again.

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report