• [MSCE U17 SDK C#] sample code: what does Session.ActivateContextualTabSet function do?

    Sui Huang
    Sui Huang
    Hi Everybody, I am trying to understand the sample code comes with the Microstation CONNECT Edition SDK (Update 17). The sample project I am looking at is at <Mocristation SDK Root Folder>\examples\WPF\WPFDemo\ In the WPFDemoKeyins.cs file of the…
    • 27 days ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [Solved] Question RE: ProStructures CE SDK Example 'CorbelDistribution'

    Tony Zhang
    Tony Zhang
    HI all, First of all apologies if this is posted to the wrong place. I hesitated if this should be posted here or the "ProStructures" forum and ended up deciding here is probably more relevant. I was trying to build the C# example project using…
    • 9 months ago
    • ProStructures
    • ProSteel Forum
  • get referenced files using .net

    conall cheevers
    conall cheevers
    hi, i'm wondering if it is possible to get a list of the referenced files in a .dgn using the sdk? similar to the result from `microstation.exe -waref [path]` thanks versions: MicroStation Connect Edition Update 16 and MicroStation Connect Edition SD…
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C#] Get project root ID

    Jon Summers
    Jon Summers
    I'm writing C# code for MicroStation CONNECT Update 14, relying heavily on Most-of-Daves-classes and the PW SDK. I need to find GUIDs for a document, its project and the project root. I can get the first and second but am stumped when it comes to finding…
    • Answered
    • over 3 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Creating new work area attributes using PW SDK

    Matthew Howdill
    Matthew Howdill
    I'm having some difficulty creating new work area attributes using the SDK (aaOApi_CreateAndInitializeAttribute), specifically assigning the control type i.e. none, pick list or select: using the following function the attribute is created but it…
    • over 3 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Why can I not see the SDK download?

    Jerry Allen
    Jerry Allen
    Is it something that you have to pay extra for? I am on connect update 13
    • Answered
    • over 4 years ago
    • MicroStation Programming
    • MicroStation 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
  • [Connect | V8] [C# | C++ SDK] Finding Xattributes quickly and selectively, without the detour via "search element"?

    Volker Hüfner
    Volker Hüfner
    To work with Xattributes, you need an ElemendHandle whether you work in managed or native code. But what will be best practice to find some elements in such a case: DGN with some several thousand elements Some 3% elements with Xattributes …
    • Answered
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C#] switch activedgnfile

    John Drsek
    John Drsek
    Been searching the help docs and can't seem to find how to switch the active dgn file to a new file using the .net apis. I see the Bentley.MstnPlatformNET.Session.Instance.GetActiveDgnFile. but I have searched through all the session members and don…
    • Answered
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C#] add dgn model reference using .NET and change some reference settings

    John Drsek
    John Drsek
    trying to figure out how to add a dgn model reference to a file and set a attachment settings. just struggling through the SDK. I found CreateDgnAttachment method but cant find how to set reference settings. here is what I have so far but after I…
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C#] how to change a dgn file properties (title, comments)

    John Drsek
    John Drsek
    Trying to figure out how to update a dgnfile's title and comments. I'm talking about the extended file properties. See image below. you get to this by going to the backstage and selecting properties. this was really easy to do in VBA. it was simply…
    • Answered
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C#] Get list of annotation scales in file

    John Drsek
    John Drsek
    I'm making a c# wpf addon for microstation. I want to get the list of available Annotation Scales. I found how to get the current scale. but cant seem to find how to get the list of scales. heres the code for getting the currently set scale. using…
    • Answered
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT .NET] Describe Element SDK Example is mis-named

    Jon Summers
    Jon Summers
    I notice that the DescribeElementExample , delivered with the CONNECT SDK, is mis-named. It has little to do with describing an element. Rather, it is an excellent demonstration of Item Types and how to attach them to an element using C#.
    • Answered
    • over 5 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • C# aaApi_Login3 with federated IMS accounts. how to register callback

    John Drsek
    John Drsek
    I'm having trouble getting the aaApi_Login3 api to work. I'm pretty sure its with the callback to get the IMS user id because I'm not really familiar with that. here is my api calls and delegate for the callback (note my API wrappers and delegate…
    • over 5 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • C# aaApi_GetUserStringSetting not returning working directory correctly

    John Drsek
    John Drsek
    I'm updating my c# code and saw that the aaApi_GetWorkingDirectory function call is Deprecated and it said to use aaApi_GetUserStringSetting() instead. so I switched my code to use the aaApi_GetUserString Setting to get the working directory but it…
    • Answered
    • over 5 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • C# aaApi_MonikersToStrings not working PW address to folder

    John Drsek
    John Drsek
    I have a stand alone C# application that performs some things at a folder location. I am updating it to now work for a projectwise folder location. the user hits a search button in the application window which brings up a folder select dialog. after…
    • over 5 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • how to get all documents within a Project folder and its sub-folders?

    John Drsek
    John Drsek
    looking for some direction on which API calls I should be using to achieve this. I have an C# app that I'm updating to work with projectwise. I need to loop through all the documents within a folder and its sub-folders. so for I have used.... …
    • Answered
    • over 5 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • ProStructures API or SDK

    Jon Summers
    Jon Summers
    Does ProStructures or ProSteel provide an API ? Is the API included with the product or provided with a separate SDK ? What languages are supported? VBA C# C++ Glossary API: Application Programming Interface SDK: Software Developer…
    • Answered
    • over 6 years ago
    • ProStructures
    • ProSteel Forum
  • C# or C++ SDK for Geopak

    HDR_Coder
    HDR_Coder
    Does there exist a .net assembly for Geopak, or any Geopak SDK that's not VBA? It could be C++, C++/CLI, C#, or anything other than VBA. Thank you,
    • Answered
    • over 6 years ago
    • OpenRoads | OpenSite
    • OpenRoads | OpenSite Forum
  • c# create document

    Kevin
    Kevin
    oops ... please delete this post .. sorry : (
    • over 8 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
  • ProjectWise SDK and C# Wrapper Classes - Heap Corruption

    Nicholas Chong
    Nicholas Chong
    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…
    • over 10 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • [V8i c#] Is there a API to merge two files

    thangaraju s
    thangaraju s
    Is there a API to merge two files Problem : Need API to merge two DGN files or alternative method without using keyins MicrostationDGNApp.CadInputQueue.SendCommand("DIALOG REFERENCE TOGGLE "); MicrostationDGNApp.CadInputQueue.SendCommand(…
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i c#] Is there a API to import the level library

    thangaraju s
    thangaraju s
    Is there a API to import the level library Problem: Is there a API to import the level library which is correspond to the below key-ins?? MicrostationDGNApp.CadInputQueue.SendCommand("LEVELMANAGER DIALOG OPEN"); MicrostationDGNApp.CadInputQueue…
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i c#] Issue with the text font change using API

    thangaraju s
    thangaraju s
    Problem : 1. If we change the font using api 'currentElement.AsTextElement().TextStyle.Font' , Redraw & Rewrite the element. There is a displacement in the text location. if we use the key-ins, or open manually and change the font. There is no…
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
>