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

Or maybe you are simply asking about how to open File on disk, and get a reference to the Document that gets loaded into Inventor's session memory when that happens.  Here is an alternate version of your code where an example of that is used:

Dim Path As String = "C:\Vault\Drawings\"
Dim DrwStr As String = "0002289721.idw"
Dim oDrawDoc As DrawingDocument = ThisApplication.Documents.Open(Path & DrwStr, True)

Wesley Crihfield

EESignature

(Not an Autodesk Employee)