open / load Assembly from filesystem

open / load Assembly from filesystem

Anonymous
Not applicable
486 Views
1 Reply
Message 1 of 2

open / load Assembly from filesystem

Anonymous
Not applicable

How can i open an existing assembly or part file (stored on a local drive) through the API? It should be possible, but i cannot find the required method calls in the API-documentation.

 

Win7 64bit, Autodesk Inventor 2011

0 Likes
Accepted solutions (1)
487 Views
1 Reply
Reply (1)
Message 2 of 2

Mike.Wohletz
Collaborator
Collaborator
Accepted solution

In VBA

 

Public Sub openitem()
Dim strPath As String
strPath = "c:\jobs\widget.ipt"
Dim invDoc As Document
Set invDoc = ThisApplication.Documents.Open(strPath, True)

End Sub

 

0 Likes