Inventor .NET 6 Add-In (.NET Core followup version)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello All,
I've been poking at making a .NET 6 add-in for Inventor for a while. Most of my attempts resulted in something that wouldn't load, but finally I have something worth sharing.
https://github.com/PockyBum522/template-inventor-core-addin
WHY:
Going forward, .NET 6 is the version that is getting new features. .NET framework still exists, and I believe will get security updates, but you are limited to lower versions of the C# language when making add-ins.
Between the above, performance improvements, and many other well-documented advantages to using .NET 6, I wanted to see if it was possible to make an Add-In with a .NET 6 project that could load in Inventor.
Behold:
HOW:
To test this out, check out the github project and look at readme.md for full instructions.
Once you have built the project and copied the files per readme.md's instructions, you should be able to open a part, and click on Tools > Core Addin Show Partname and have it show the filename like in the first screenshot.
I offer absolutely no warranty on this, and I don't even know if it's useful or if there will be restrictions on what you can put into your Add-In and still have it work. I mostly just wanted to share it as I haven't seen a working .NET 6 addin on the forums, and wanted to both let AutoDesk know there is demand for it + get people playing around with it to learn more.
Tested with: Visual Studio 2022 17.1.2 and Inventor 2022 Build 287, 2022.2.2
Thanks