API 2010 vs API 2012 and the different result of ReferencedFileDescriptors

API 2010 vs API 2012 and the different result of ReferencedFileDescriptors

Anonymous
Not applicable
393 Views
2 Replies
Message 1 of 3

API 2010 vs API 2012 and the different result of ReferencedFileDescriptors

Anonymous
Not applicable

As you could already read in the headline of this topic, I'm getting two diffrent results from Inventor.File.ReferencedFileDescriptor with the Inventor 2010 API and Inventor 2012 API when I'm trying to get some information from the same Inventor file!

In my case the FullFileName and therefore the ReferenceMissing property get's me different values, although it's exactly the same Inventor file and exactly the same source code.

How could this happen? Any changes for the ReferenceFileDescriptors object from API 2010 to 2012?

I don't get it....

0 Likes
394 Views
2 Replies
Replies (2)
Message 2 of 3

ekinsb
Alumni
Alumni

Can you either post here or send me (brian.ekins@autodesk.com) a sample assembly and parts that demonstrates this issue?  Thanks.


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

Anonymous
Not applicable

I found out, that the selected project is the one to blame for!

Actually I assumend that the project file shouldn't be "involved" when getting information from FileDescriptor.

Anyway .. if the project file is considered while accessing FileDescriptor - how can it be changed to default project by Inventor.ApprenticeComponent?

 

0 Likes