Inventor Add-In Template

The Inventor Add-In Template creates all the necessary code for an Inventor Add-in using either Inventor or Inventor OEM. To use this template, select File New Project. The Add-In template comes in both Visual Basic and C#, so choose the correct language, then find the Inventor ETO Addin template; it also appears in a subcategory called InventorETO, making it easier to find if you have many project templates.
Note: Autodesk Inventor 2012 supports add-ins targeting .NET Framework 3.5 (not 4.0) so you must select 3.5 as the target before the template shows up.

You can add this project to your existing solution or create a solution. ETO Studio allows all your related projects to be in the same solution. You may also select a name for the project. When you are satisfied with your selections, click OK.

You should now have a new Project in your solution. To understand more about the template and how to work with it, view the readme.txt file created with the project. The readme contains instructions for how to debug the project, manually register the add-in and other useful information. If you are familiar with all those actions, you can remove the readme.txt from your project.

The image below shows what a user might typically see after creating the Inventor Add-in project.

To run (and debug) the project from Visual Studio you can follow these steps:
  1. Set the project to launch Inventor (or Inventor OEM) on start-up.
    1. Open project properties.
    2. Select the Debug tab.
    3. Set the Start Action to Start external program.
    4. Select <InstallPath>\Inventor.exe (or InventorOEM.exe) as the start-up program.
  2. Build the Project.
  3. Start debugging.

From there, if you build the add-in project and run Inventor, you should see your add-in loaded, along with some sample ribbon bar items.

The results of running the sample project: