Writing an Excel program to retrieve desired dimensions from a list of Inventor Drawings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to write a program in Excel to run through a list of Inventor Drawings and retrieve the desired dimensions from each drawing.
Right now, I am starting off simple and just trying to retrieve dimensions from the currently active document. The current issue I am facing is ActiveDocument() and ActiveEditDocument() not returning anything even when I have a drawing checked out from Vault and open in Inventor. This causes an error whenever I try to retrieve the active sheet. I know that I can at least "talk" to the Inventor application because I can have it return the filepath. So I know that it's not an issue of connecting to Inventor.
This is the main issue I want to solve right now, but any advice on how to handle this task as a whole would be appreciated. For instance, do I need an Add-In so that my program can access dimensions from drawings checked into Vault? The drawings do not have established parameters so I might need to find a clever way of identifying the desired dimensions. The desired dimensions do have text attached, so that might help with identification. Additionally, I would like a way to confirm whether or not a specific phrase is found in the notes of the drawing.