![]() You can view the references a project has by using the Project window and selecting the “Show All Files” button highlighted in red below. In the Add Reference dialog choose the Browse tab and browse to the directory below (for whatever version of Inventor you’re using).Ĭ:\Program Files\Autodesk\Inventor 2013\bin\Public Assemblies To add the reference choose the “Add Reference…” command from the Project menu, as shown below. The interop completely describes the API in a. You do this by referencing Inventor’s Interop library. In order to access Inventor’s API you need to make your project aware of the API and what it supports. The project you’ve just created is a standard Windows application and doesn’t have any knowledge about Inventor’s API.In the New Project dialog select “Windows Forms Application” as the type of project and enter “DrawShape” for the project name.After running Visual Basic 2010 Express, select the “New Project…” option, which is outlined in red below.Here are the steps to creating an exe program that will access and control Inventor using the API. I won’t go into a lot of detail but will go through the steps below. If you’ve gone through the lessons in the book I suggested earlier, or any of the online Microsoft tutorials that are available you should be familiar with what projects are and how to create them.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |