Hi all,
Using VB.Net 2010 I am able to create/copy a new 'Standard' Project (silent operation).
My Standard Project has some sub-assemblies and parts. In the new 'Standard' Project some sub-assemblies are replaced with the new sub-assemblies using silent operation. The new sub-assemblies are also created/copied with VB.Net. When the replacements are done Inventor opens the new 'Standard' Project. All works fine no challenges here.
The challenge is that when I close the new 'Standard' Project there are still 'Open Documents in Session' and therefore I am unable to start the program again unless I close and restart Inventor. My guess is that I am not cleaning up Inventor's memory.
Can someone please point me in the right direction.
Many thanks in advance.
Hi again,
InvCompOcc = Nothing
InvComOccEnum = Nothing
docFile = Nothing
do not give me the result I am looking for, there are still 'Open Documents in Session'
Hi Ishwar,
Thanks for your suggestion but I was a bit unclear. The program is not closing the assembly, it is the user who closes the assembly, that where this issue occures.
JJ
Hi,
Did you find the way to close all documents, because i am also dealing with same issue.
rgds
Amit