Message 1 of 2
Automation of Inventor from Microsoft Access

Not applicable
10-10-2008
07:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a database with information about our drawings. I would like to have some code to open the Inventor .idw file from the database record, for example if the database record is for drawing number XXXX I want it to open Inventor and go to file XXXX.idw. I saw similar code for doing this from Excel but for some reason I'm getting an error with the .open part. I have Dim invDoc As DrawingDocument
Set invDoc = invApp.Documents.Open("'" & FullPath & "'"). I don't get a compile error, but when I run the code it tells me this is an invalid procedure call.
Set invDoc = invApp.Documents.Open("'" & FullPath & "'"). I don't get a compile error, but when I run the code it tells me this is an invalid procedure call.