Using Apprentice to get AllReferencedDocuments

Using Apprentice to get AllReferencedDocuments

Anonymous
Not applicable
806 Views
3 Replies
Message 1 of 4

Using Apprentice to get AllReferencedDocuments

Anonymous
Not applicable

I am using Inventor 2010 Apprentice to get AllReferencedDocuments from the ApprenticeServerDocument through VBA in Excel 2007. It works very well with many assemblies but I have some assemblies that not all of the parts included in the assembly or sub-assembly are returned. What's even more confusing is I will test my code on another computer in my office with the exact same version of Inventor and the same service pack and the same RxInventor.tlb file, but some different parts will be missing from that other computer. All the files are located in the same folder and all have been properly migrated.

Any help in resolving this issue would be greatly appreciated. Thanks.

0 Likes
807 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
0 Likes
Message 3 of 4

Mike.Wohletz
Collaborator
Collaborator

This does not sound the same as the other problem that I had posted a fix for, I would look at the 

.NeedsMigrating and see if that returns true. to not have the same results on two computers should not be so unless one of them has a newer version of Inventor installed and ApprenticeServer needs them migrated prior to working with the file.

0 Likes
Message 4 of 4

ekinsb
Alumni
Alumni

Can you post a simple example, both an assemlby and the some sample code that demonstrates the problem?


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
0 Likes