Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

As far as I know, is the entire tutorial in pure VB.net. So I'm not sure what you would like to see.

If you want to create a standalone application then you might want to have a look at the 3e part of the tutorial "Debugging without restating Inventor".

There I create a application that connects to Inventor and runs as a standalone application. Here are the basics for getting the Inventor object. (It will start Inventor if it is not started jet.)

Dim ThisApplication As Inventor.Application

Try
    ThisApplication = Runtime.InteropServices.Marshal.GetActiveObject("Inventor.Application")
Catch ex As Exception
    Dim oType As Type = Type.GetTypeFromProgID("Inventor.Application")
    ThisApplication = System.Activator.CreateInstance(oType)
    ThisApplication.Visible = True
End Try

Dim ThisDoc As Document = ThisApplication.ActiveDocument

 

Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Blog: hjalte.nl - github.com