Integrate with Integration?

Hello,

I need to develop an application that integrates with AutoCAD and also with ProjectWise.  I would like, if possible, to integrate my solution with the existing AutoCAD integration client developed by Bentley.  In an ideal world, our users should only have to log in to ProjectWise ONCE from within AutoCAD, rather than logging in to Bentley's client and also into ours.  Is there a way to accomplish this?  I would like to do the same thing with Office integration as well, if it's possible. 

Jon

  • I don't think I can answer your question directly. This is what I have been able to do:

    Write a program that does not need Explorer (user interface) to interact with ProjectWise (see samples in SDK) - Explorer does need to be installed on the machine.

    Write an AutoCAD extension or menu that uses the Bentley integration AutoCAD Commands to perform tasks.

    Write an AutoCAD extension that turns off Bentley Integration and performs integrative tasks, then turns Bentley Integration back on.

    Here is what I have not been able to do:

    Obtain the datasource and location of the file opened in AutoCAD from the Bentley integration or the API.  There may be a way to do this now, but there was not when I tried many years ago.

    Hook into the AutoCAD integration and call methods directly. (there is not an API for that).

    Please take a look at the examples in the samples folder in the SDK.  There are various tools shown there. some that work inside of Explorer some that work in a stand alone application like vaultlist. I have written many integrations for various applications and the approach usually started with the application API, then weaving in ProjectWise API.  Applications have various limitations on their API use and you may have to be creative to be able to use the ProjectWise API from code accessing the application API. By creative I mean things like using COM, or p/Invoke, or some other intermediary means of getting the data from one API to the other.