- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have an iLogic rule which gets the full file path for the selected Part in a drawing view and places it in a Shared Variable so another rule can access it.
I have a second rule which needs to place a View of that Part on the current sheet. This has to be a separate rule, because I want to place the view on a different sheet (or even a different drawing). But in order to do this, the second rule needs to have access to the Document object for the Part.
So my question is, how can I make Inventor get the document object for a specific Part file, given the Part file's full file path?
I need something like:
'Mock code: Dim oPartDoc As Document oPartDoc = Document("C:\Documents\MyPartFile.ipt")
To borrow @Curtis_Waguespack's analogy... I may be trying to bend the spoon when there is no spoon If I can place a view of my Part using just its filepath without needing the Document object itself, that will work, too.
Solved! Go to Solution.