Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

❗ Inventor Apprentice 2022 - cannot retrieve master propertysets

CattabianiI
Collaborator

❗ Inventor Apprentice 2022 - cannot retrieve master propertysets

CattabianiI
Collaborator
Collaborator

Apprentice is widely use to get iProperties from outside Inventor,  the manual statesIf only the FullFileName is specified for part and assembly documents, the master document within the file is opened.
This is no longer true in Inventor 2022, what I get now are the property sets of factory document in the latest saved model state.
This definitely breaks any apprentice based application.

Could you please confirm this behaviour and let me know when it will be fixed?

0 Likes
Reply
2,133 Views
29 Replies
Replies (29)

gilsdorf_e
Collaborator
Collaborator

Hello I'm talking about the original post that propertysets of model state files cannot be retrieved with apprentice server. You mentioned it would be fixed in the next release. 

 

0 Likes

CattabianiI
Collaborator
Collaborator

The original post refers to master property sets you can retrieve through ApprenticeServerDocument.FilePropertySets after one of the first updates.

0 Likes

gilsdorf_e
Collaborator
Collaborator

Alright, our developer tells me that it does not work. He gets a "member not found" exception when trying to do so.

0 Likes

CattabianiI
Collaborator
Collaborator

The interop is properly referenced? Are you sure you're running Inv 2022.2? With previous versions did it work?
I cannot try at the moment on Inv 2022.2 but I'm 100% sure in 2022.1.1 it works.

0 Likes

gilsdorf_e
Collaborator
Collaborator

Could it be that this is because we run apprentice from a Vault 2022 addon?

I see there is also a Interop.InventorApprentice library. This does not have the FilePropertySets. It is still version 1.0.

 

 

0 Likes

gilsdorf_e
Collaborator
Collaborator

The Autodesk.Inventor.Interop.dll that comes with Vault still has version 26.0.0.0, while the one delivered with Inventor was updated to 26.1.0.0. 

0 Likes

CattabianiI
Collaborator
Collaborator

Interesting, but I don't use Vault and I'm not an expert about Vault addon. I recommend to open another thread for this issue. Or if you wanna try you could replace the vault interop with the updated one.

 

0 Likes

CattabianiI
Collaborator
Collaborator

And maybe the issue is the addon which is referencing that Interop.InventorApprentice created many years ago. Is the addon yours?

0 Likes

gilsdorf_e
Collaborator
Collaborator

Thank you, we are testing replacing the DLL. Additionally I have raised that issue with our CSM and DSS.

gilsdorf_e
Collaborator
Collaborator

The addon is ours and we are porting it from Vault 2020 to Vault 2022. Model states are now causing the pain.

We would happily change over from ApprenticeServer to InventorServer if it was supported not only in JobProcessor context but in Vault context in general.

0 Likes