Implementing a Vault API utility in Revit through the Revit API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone,
My name is Constantin, I work for an engineering consulting company in Montreal area and I'm a self-taught programmer with a solid experience with the AutoCAD API's (except the ObjectARX/C++) and some experience with the Revit API (C# and VB).
Lately I have been asked to do some custom programming and try to integrate Revit and Vault for a "simple" task like duplicating the "Insert From File" Revit command, as a custom external application using its own tab in the Revit ribbon menu (no problem with the ribbon integration), command which would be called something like "Insert From Vault File", since it has to open the source file from Vault!
It is my understanding that this command should use some Vault API calls from a Revit API utility and I think that this Checking in and out a file demo would be a good point to start, but the problem is that as far as I understand, this is a Vault custom API utility, but I need it to be implemented like a Revit utility, so that it could be triggered from Revit.
And here comes my question; is it possible to "manipulate" the Vault API from a Revit API custom command, therefore to implement this Checking in and out a file utility as a Revit custom command? Can you provide some code examples or some inspirational source(s) to suggest?
Thank you in advance and I hope I made myself clear enough,
Constantin
