• Create Rendition Dialog

    David Casilllas
    David Casilllas
    Does anyone know if it's possible to programmatically bring up the Create Rendition Dialog as shown below? Or do I have to create a custom dialog for an app I'm developing using the ProjectWise Rendition Service API. Thanks, Dave
    • over 1 year ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • [C# PW API] Workflow Rules Engine - push document to next state

    Edward Ashbolt
    Edward Ashbolt
    Hi all, I have been attempting to push a document to a different state using the aaApi_WREDoExecute method listed in the API. Everything seems to be working to a certain degree, except the response I get is: "Execution command identifier '{urn:bentley…
    • Answered
    • over 1 year ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • [C# PW API] Execute saved search and return environment attributes for results

    Edward Ashbolt
    Edward Ashbolt
    Hi, I am trying to execute a saved search via PW API, and would like to return all attributes from a specific environment along with the results. So far I have the following code: public static int GetSavedSearchQueryId(string searchName, int parentQueryId…
    • Answered
    • over 1 year ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Sample code for how to implement hooking with C#

    Dan Williams
    Dan Williams
    Implements two hooks, pre and post login. Third hook commented out as it wasn't fully implemented.
    • HookSampleUsingCSharp.zip
    • over 1 year ago
    • ProjectWise Programming
    • ProjectWise Programming - Media Gallery
  • ProjectWise API accepts incorrect values for Document Code

    Per Bodin
    Per Bodin
    Hi Someone who can help me, would be greatly appreciated. Will try to explain in my poor English Has developed a function for sending files with metadata (attribute values) from a document system to a ProjectWise data source. The ProjectWise data…
    • over 2 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Add Change State Approve/Revise button to ProjectWise toolbar

    Bhanu Chauhan
    Bhanu Chauhan
    Hello All, In ProjectWise Explorer CONNECT Edition, we can get Change State/Next/Previous buttons to the toolbar, but the Approve and Revise are missing. Is it possible to add via ProjectWise SDK/API? Any advice? View > Toolbar > Customize > Commands…
    • over 2 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Function aaApi_OpenDocument Not Found

    David Casilllas
    David Casilllas
    Hi, I'm using the file MostOfDavesClasses.cs. When I trying using the function aaApi_OpenDocument I get this error in my console: Unable to find an entry point named 'aaApi_OpenDocument' in DLL 'dmscli.dll' I tried building in both 32 and 64 bit…
    • Answered
    • over 2 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • [PW API C#] List all open datasource connections / sessions

    Edward Ashbolt
    Edward Ashbolt
    Hi all, I am having difficulty in creating a utility function to return a list of all open connections for an application. I can get a count of the open connections using aaApi_GetOpenDsHandles(ref dsCount); however the Pointer that is returned by the…
    • Answered
    • over 2 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Any example in using aaApi_FindDocuments2 api in C# ?

    Simone Padovan
    Simone Padovan
    Hi all, I'm new in Microstation / ProjectWise programming and I'm searching for an example about using of aaApi_FindDocuments2 api in C# because I've some problem in parameters Marshaling. I've seen "MostODaveClasses.cs" where is implemented DocumentRequestColumns…
    • over 2 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • How to get value of lProjectIds and plDocumentIds in aaApi_DocumentSelectDlg with C#

    Kevin Cox
    Kevin Cox
    lProjectIds and plDocumentIds give values of 0 and -734941776. I've declared them as Integers but the documentation states LPLONG and array of project IDs. Not sure if I need to Marshal the result.
    • over 3 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Sample-CSharp-CreateSavedSearch.zip

    Dan Williams
    Dan Williams
    Sample console application to create a saved search using Dave Brumbaugh's PWSearchWrapper.dll available with his MostOfDavesClasses found at https://github.com/DaveBrumbaugh/MostOfDavesClasses-CSharp-Wrappers-For-ProjectWise .
    • Sample-CSharp-CreateSavedSearch.zip
    • over 3 years ago
    • ProjectWise Programming
    • ProjectWise Programming - Media Gallery
  • Sample in C# for creating Saved Searches

    Dan Williams
    Dan Williams
    I created a sample console application in C# that uses the PWSearchWrapper.dll assembly that Dave Brumbaugh provides to show a way to create global saved searches (datasource or for a specific work area). You can get the source code here: https://github…
    • over 3 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • C# Add-Ins for MicroStation

    Dave Brumbaugh
    Dave Brumbaugh
    I just posted some sample MicroStation Add-Ins to my Github site: https://github.com/DaveBrumbaugh/MostOfDavesClasses-CSharp-Wrappers-For-ProjectWise/tree/master/Samples/MSCE-AddIns You'll need MostOfDavesClasses.cs from the root of the site to build…
    • over 3 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Some sample code for using C# with the ProjectWise SDK

    Dan Williams
    Dan Williams
    I posted some parts of these two sample customizations recently, but to make things easier for those looking for the full Visual Studio Projects, you can download the code from GitHub. First of all, you will need Dave Brumbaugh's MostOfDavesClasses, but…
    • over 4 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Source File for Sample Login using C#

    Dan Williams
    Dan Williams
    This sample source file is intended to show one way of logging into a ProjectWise datasource from a console application using MostOfDavesClasses and C#. You can get MostOfDavesClasses from here: https://github.com/DaveBrumbaugh/MostOfDavesClasses…
    • SampleLoginSourceFile.zip
    • over 4 years ago
    • ProjectWise Programming
    • ProjectWise Programming - Media Gallery
  • How to Set Project Default Preview Pane View

    Dave B
    Dave B
    The API contains a function aaApi_GetProjectDefaultPreviewPaneView function which we intend to use to obtain the view ID from the Parent Project when adding a new sub-folder under it (sub-Project?... trying not to be confusing here - no idea why what…
    • Answered
    • over 4 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Credential Expiration

    David Hahn
    David Hahn
    Hey all, I'm hoping someone can point me in the right direction. I have a window service that uses the projectwise APi to login, connect to a datasource, preform various operations to get data from projectwise, including copying files out of the system…
    • Answered
    • over 4 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Do I need ProjectWise client to connect my C# application to ProjectWise Web Server

    Sergey Aleinikov
    Sergey Aleinikov
    Hello, I am new to ProjectWise programming and currently trying to have an existing C# based application connect to and communicate with ProjectWise Web Server (V8i). For now, the app extension will need to log in to the Web Server, read documents…
    • over 8 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • [c#] How can I call aaApi_CallDefaultWizard to bring up the default wizard in C#?

    Sivakanesh
    Sivakanesh
    I'm trying to upload a document to a PW project from a asp.net web application. I was able to use the API to login. I'm now trying to use the aaApi_CallDefaultWizard to bring up the wizard to upload a file. I have declared the function like this: …
    • over 8 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Setting document properties through API

    Leif Frederiksen
    Leif Frederiksen
    I have been using aaApi_GetDocumentStringProperty to obtain property values from document. That works pretty straight forward. Unfortunately I also want to assign new values to the document properties. I cannot seem to find something like "aaApi_SetDocumentStringProperty…
    • over 9 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Stream a text file from ProjectWise

    matinau
    matinau
    Is it possible to stream a text file from ProjectWise? I noticed the DocFetchFlag "AADMS_DOCFETCH_STREAM_SUPPORTED" I want to pass the streamed contents to a WinForm textbox which acts as a preview pane. Cheers
    • Answered
    • over 9 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • aaApi_ProgressControlWaitOnThread C# | Entry Point Not Found

    matinau
    matinau
    Having difficulty calling the following function: aaApi_ProgressControlWaitOnThread Error entry point not found? this is the code I use to call [DllImport("dmawin.dll", CharSet = CharSet.Unicode)] public static extern int aaApi_ProgressControlWaitOnThread…
    • over 9 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Create project tree, using c# for winForms project

    matinau
    matinau
    I'm trying to create a PW navigator in c# using the SDK c++ sample "Navigator". I have created my own c# wrapper but struggling with the implementation. Below are the wrapped functions [DllImport("dmawin.dll", CharSet = CharSet.Unicode)] public static…
    • over 9 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Can't call DLL function that makes ProjectWise API calls

    joshua sorkin
    joshua sorkin
    Using Visual C++ (in Visual Studio 2012), I've made a DLL with a function openDoc(int projID,int docID) that calls the ProjectWise API to open a document. I'm trying to call this function from either C# or VBA, but haven't succeeded with either one…
    • over 10 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Re: Using aaApi_GetLinkDataDataBufferColumnValue, a string value is sometimes not returned

    Michael Dougherty
    Michael Dougherty
    Here is an old example I did that uses this function. Take a look maybe it will help. Mike
    • PWGetAttrExample.zip
    • over 10 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
>