Revit Addin - Vault Connection

Revit Addin - Vault Connection

connor.ferguson
Advocate Advocate
1,123 Views
8 Replies
Message 1 of 9

Revit Addin - Vault Connection

connor.ferguson
Advocate
Advocate

We have a Revit addin that connects to Vault. Currently this is done by our own command that gets the user to login to Vault but it would be better if from our addin we could get the existing Vault Connection used by the standard Revit Vault addin. Is this possible? It can be done with Inventor but can't find a way with Revit.

1,124 Views
8 Replies
Replies (8)
Message 2 of 9

jeremytammik
Autodesk
Autodesk

I am not aware of any such possibility. However, i have asked the Revit development team for you and will let you know what I find out.

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 3 of 9

connor.ferguson
Advocate
Advocate

Hi Jeremy, Any update on this?

0 Likes
Message 4 of 9

jeremytammik
Autodesk
Autodesk

Dear Connor, thank you for the prompt. Sorry, no reply from them yet. I'm retrying in a different and hopefully more appropriate internal slack channel... stay tuned...



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 5 of 9

Anonymous
Not applicable

O Caminho que você se refere é por .NET ? Atualmente.

0 Likes
Message 6 of 9

jeremytammik
Autodesk
Autodesk

Yes, the Revit API is purely .NET. 

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 7 of 9

Anonymous
Not applicable

Take a look at the documentation in Autodesk.Datamanagement.Client.FrameWork.Vault.Library.ConnectionManager. There is a method called "GetExistingConnection". You should be able to use this to retrieve the existing Vault connection.

0 Likes
Message 8 of 9

cristian.barzaghi
Explorer
Explorer

this is valid if you are into a Vault add-in.

the question is: is possible to access Vault connection from a Revit add-in?

Inventor expose this by the Connectivity.InventorAddin.EdmAddin dll present in :\Program Files\Autodesk\Inventor 2022\Bin\: there is an equivalent for Revit?

0 Likes
Message 9 of 9

connor.ferguson
Advocate
Advocate

Hi Christian, i wasn't able to find an equivalent so i added the ability to log in to Vault through my revit addin, independant of the Vault Ribbon

0 Likes