Message 1 of 3
Access to Vault file properties through Inventor

Not applicable
09-25-2017
02:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm trying to write a program that will allow me to read an iProperty value of an Inventor file in Vault.
I can't get past the first hurdle of establishing the connection. The code below produces the following errors:
Error on Line 6 : Type 'VDF.Vault.Currency.Connections.Connection' is not defined.
Error on Line 9 : 'Connectivity' is not declared. It may be inaccessible due to its protection level.
Imports Autodesk.DataManagement.Client.Framework.Vault Imports Autodesk.Connectivity.WebServices Imports VDF = Autodesk.DataManagement.Client.Framework Imports ACW = Autodesk.Connectivity.WebServices Dim myConnection As VDF.Vault.Currency.Connections.Connection = Nothing ' Get the Vault connection from ' the Inventor Vault log in myConnection = Connectivity.Application.VaultBase.ConnectionManager.Instance.Connection()
Any tips on what I'm missing? I'm writing in the iLogic environment of Inventor.