Browse By Tags

  • connect to a datasource and enumerate its files in a console app

    Hi, I'm new to Bentley and Project Wise. For some integration work (with other products) I need to access a Project Wise datasource and enumerate all it files of a certain types. Here is what I got so far: int main(array<System::String…
  • How do I CopyOut a document if I have the Project URN and the document file name

    I have a URN for a Project and the name of a file, not including path, of a document in that Project folder. I need to copy the document out to the working directory. Given a document's GUID I know how to do the CopyOut portion using aaApi_GUIDCopyOutDocument…
  • Filename value from SQL Database Table

    I want to extract the "Filename" value from the DataBase table and automatically insert it into an attribute of my environment to be displayed in the TitleBlock of MicroStation files. I am a novice in SQL and my programming skills are minimal and can…
  • ProjectWise SDK and C# Wrapper Classes - Heap Corruption

    Hi everyone, I've hit a bit of a brick wall and I am running out of clues on how else to debug this problem. In a nutshell, I've got C# wrapper classes written around the ProjectWise API and in turn, this library is consumed and used by an MVC3 web…
  • Create document with aaApi_CreateDocument in VB.net

    Hi everyone, I'm trying to program an application that is able to create documents in ProjectWise. To this purpose the tool logs successfully into the datasource by single sign-on. Unfortunately when trying to create the document, the API function…
  • PWISE SDK XML Functions

    Regarding document management functionality Are there any methods to get data in XML format? Ex return 1) Project list with folder structure related to it 2) Environment list in a project 3) Document list in a project/Folder 4) Document…
  • Difference between aaApi_CopyOutDocument and aaApi_FetchDocumentFromServer

    Hi all. In my application I am trying to copy out old version of document using aaApi_CopyOutDocument, but for some reason it doesn't work and aaApi_GetLastErrorId () returns AAERR_DMS_ERR_ALLREADY_CHECKOUT. As I can see in ProjectWiseExplorer…
  • Custom window creation

    Anonymous
    Anonymous
    Hi guys, I create a custom menu in projectwise explorer using the menu editor (mrredit.exe) and a dll that i create in visual studio. I want to pop up a window when the user clicks on the custom menu. a window with button and want to have actions…
  • Cannot Connect my DLL to my customised menu item (mrredit.exe)

    Anonymous
    Anonymous
    Hi everyone, I'm trying to create a custom menu item with the Menu editor (mrredit.exe). I created the menu and specify the dll and the function it must run when the its clicked but nothing seem to happen. Can someone please give me a small example…
  • Re: Compatibility of Visual Studio 2010 with PW V8i SS3

    The ProjectWise SDK samples can be built using VS 2010. I have compiled, run and tested all of the sample apps except two that don't compile. I have another thread going now to try and figure out why. In going thru the process I've been documenting what…
  • Re: ProjectWise API - unable to copy project

    Stephanie, Here's a bit of code that I used recently. Obviously, there are some of my own functions, etc. in this, but you should be able to get an idea of what you need to do to make it work. I suspect that you haven't setup the flags properly…
  • ProjectWise API - unable to copy project

    I am trying to use the aaApi_CopyProject function from the PW SDK to copy a project but keep getting an error with a returned (and unhelpful) message: "Folder copy failed" from aaApi_GetLastErrorMessage. I am logged in using the aaApi_AdminLoginDlg function…
  • Re: XM Geopak slow over VPN

    Thank you for the suggestion Robert! I disabled the opportunistic locking for the remote server by following the instructions on this webpage. http://www.dataaccess.com/whitepapers/opportunlockingreadcaching.html Microsofts instructions…