Browse By Tags

  • How to use aaApi_StartPartnerApplication ?

    Hello, I am looking for a solution to view a dgn document from ProjectWise CONNECT Edition (3.299) into Microstation CONNECT (Update 17) without checking out the document, but still be able to modify or add references to the opened document in Microstation…
  • ProjectWise SDK c++ | Get Folder

    Dear Team, Which function in ProjectWise SDK to collect the folders and properties ? Regards Ananth
  • [C# PW] Workflow Rules Engine API - Syntax error?

    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…
  • What is the file property and how to retrieve and modify the value

    I want to new a "Document custom property" by the API, and use the API to retrieve and modify the value?
  • How to change reference version using API?

    I need to update all the docs that referenced by a master doc to the latest valid version. By valid version, I mean the version string that satisfied certain pattern. I've done finding the latest valid version doc's guid through aaApi_SqlSelect. Then…
  • Using aaApi_CopyDocument and aaApi_UpdateLinkDataColumnValue

    Hello, I'm working through an issue that involves copying a document and then updating the attributes on that document based on a form that a user has filled out. Below is how I'm using the copy function: bCreateDocSuccess = aaApi_CopyDocument(SourceProjectIDVector…
  • Can't resolve symbol 'aaApi_AssignAccessList'

    I want to hook to create folder function to add a user list to that folder as access control item with the same name. By reading SDK help, I thought the proper one to use was aaApi_AssignAccessList(). However, build fail due to identifier not found…
  • Some sample code for using C# with the ProjectWise SDK

    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…
  • Credential Expiration

    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…
  • RE: create abstract document (document with no file) ?

    Did you try it? This works (ProjectId is set before this code with the id of the folder to create the document in): LONG lDocId = 0; LONG lStorageId = 0; LONG lFileType = 0; LONG lItemType = 0; LONG lApplicationId = 0; LONG lDepartmentId = 0; LONG lWorkspaceProfileId…
  • Documents Menu Commands for Flat Sets that are set to Final are greyed out

    When I create a command on the Documents Menu, the command is greyed out for flat sets that have the status of "Final". Is there any flag that I can set to enable the command for objects that are final? I need to be able to extract information using…
  • Fetch document from server

    How do I control whether or not references (xrefs) also get downloaded when copying a dwg file or a dgn file, to a local folder? I’m trying to do an export to a completely independent folder. As far as I can tell there are three main paths to follow…
  • I am having error on call of aaApi_Initialize(AAMODULE_ALL); function

    Hello, In my code when I call aaApi_Initialize(AAMODULE_ALL); method to initialize my custom console application it is giving me hooks related initialization errors. My code is working on one machine but it does not work on another machine because of…
  • I can't find some of the Document Menu Command ID from PWPublicSDK

    I have tried all the IDs in the page "Document Menu Command IDs" of PWPublicSDK, but I still can't find some of the Menu Command ID. Such as the menu" Purge Workspace" ,the sub menu "Advanced Wizard" and "No Wizard" of the pop menu "New", the sub menu…
  • Return Table Values

    I need to retreive some basic information stored in a table in ProjectWise. The table itself is 3 columns. I've looked at aaApi_SelectTable() and aaApi_SelectColumns() but how can you combine these with a specific row? Say if I wanted the value in row…
  • Copy state of a document to another using PW SDK

    Hi guys, How can I copy the current state of a document to another. The situation is that: When I click with the right button in a document into the PW Interface and choose "Link PDF..." (This option was created by me using PW SDK), a FileDlg appears…
  • Subsequent update to Environment attribute not working

    Hi guys, I'm getting some problems with PW SDK. I'm referring to one file as the "father" and another as the "child". I have an environment attribute called "ChildDoc" that must be filled cross-referenced, i.e., the "father" file should have the docID…
  • Set Environment property using PW SDK

    Hi, guys! How could I, using PW C++ SDK, select the environment used in the current folder and modify one of its properties? Thanks in advance, guys!
  • Create Documents using SDK

    Hi guys, I want to, whenever a user click in a option created in PW and select a File from a FileDialog, this file should be created in PW. The first step of it (Create menu option and FileDialog) was acomplished succesfully. Now, i'm having problems…
  • 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…
  • Export to PDF

    Hi, guys. I have a simple question: For each document in PW, i need to generate a PDF of this file. Is there a simple way to implement something like that using PW SDK? I have no idea where i should begin to do it. Thanks!
  • Server side menu?

    Hi, is it possible to deploy a custom projectwise menu or command via the server? The reson I ask is to avoid hard coding account details in assemblies and ease deployment. I have custom commands which require certain elevated rights (not specificaly…
  • PW New Project Wizard

    Hi, I've recently been messing around with the customprojwizard provided as part of the samples in the PW SDK. I noticed that the wizard in the sample does not extend/expose the security interface as the standard wizard does. I've created the…
  • Get source and destination state on Previous State Change

    Guys, If I'm in state E and try to back to state A, PW bublles a pre-hook event for each change (E to D, D to C, C to B, B to A). On the first change (E to D), I open a FileDialog to suer select some file that is used in my businnes logic. On the…
  • Search documents in current folder by name after change state event and select it using PW SDK

    Hi guys, I know that PW SDK has the concept of hooks, specifically POST HOOKS. But, unfortunally, i couldn't find any examples in documentation help file. Specifically, what i want to do is register to a change state event. When it happens, i want…