Browse By Tags

  • Dgn file hash.

    I am writing an application for MicroStation and ORD under c# I plan to cache specific data to improve the application's startup speed following a session involving a file. In light of this, having access to a file hash would be extremely helpful. Does…
  • how to read dgn file with Bentley.DgnECPlugin3

    I want to be able to read this dgn file, but when I try to load the Bentley.DgnECPlugin3 plugin, it returns null assembly , in addition to when I try to run the code it throws me the following error I currently have MicroStation CONNECT Edition installed…
  • OpenBridge crashing when trying to debug SDK example

    All, I am trying to debug the example for OBM but I am facing an issue while starting the applcation. OpenBridge is crashing straight on the first line of code ObmGeometryModelConsensusSDK.Initialize(); I have copied the dlls provided in the redist…
  • [CONNECT Update 16 C#] Ellipse to arcs conversion

    Hello, I need to convert ellipses with different Primary and Secondary Axis to multiple arcs with the same Primary and Secondary Axis. In Microstation I can do that using Facet tool but I need to achive the same result doing it programatically. …
  • I want to create a program where I can open a .dgn from an excel toolbar, select items, and export the data back into my excel table. Is this possible?

    I am using .NET, would VBA be more ideal to this? I am assuming that when microstation opens, I will need to send a command to microstation to automatically load the mdl app and start that. Then the user will select the items who's attributes they…
  • picking elements from reference files which are not active

    I am working on multiple reference files where I need to get the element Ids of the elements even if that reference file is not active. I am using the below code to pick elements. I am able to get elements that are from active reference file only, when…
  • C# MS16 .NET Attach and edit item types to a model

    Hello All Using C# I can create item types and attach them to elements, but cannot see how to attach an set of ItemType properties to a dgn model? I can get to the model as a DgnModel and ModelInfo I can get to my ItemTypeLibrary and ItemType …
  • [CONNECT/(V8i); VBA/C#] Using C# DLLs in a VBA-Project

    Hello, I have a question. Is it possible to make a C# DLL usable in a VBA project and if yes, how? We already tried with the following Link: https://www.geeksengine.com/article/create-dll.html But in that example you have to move a file in to…
  • [CONNECT C#] After ElementPropertiesSetter the Element is locked

    After using ElementPropertiesSetter, the respective element is locked and cannot be unlocked in the MicroStation afterwards. Did I forget something? public bool SetElementLevel(BDE.Element element, string levelName) { try { BD.LevelId levelId…
  • Developing CulvertMaster tool

    I have been tasked with developing a tool to automate determining the flow a number of pipes can handle in Bentley CulvertMaster, preferably in Python, but I could work with another language if necessary. Is there a python package or a specific SDK that…
  • [CONNECT C#] Managed Equivalents for older COM Interop Calls

    Hallo, I am converting existing add-ins that were written in C# using the COM Interop on V8i SS4 to the new CONNECT NET API and I would like to get rid of any remaining calls to the COM Interface where possible. To achieve that goal, I need to find…
  • Why can I not see the SDK download?

    Is it something that you have to pay extra for? I am on connect update 13
  • Setup of MostOfDavesClasses for SDK for ProjectWise

    I installed the SDK but not sure what the next step is. Program will be done with VB.NET but unsure how it loads the calls to C++. I did find MostOfDavesClasses for C# and tried to load it to test. Adding references to System.Configuration.dll and…
  • GeoWebPublisher SDK for mods and customization

    greetings, Is there any SDK for developing customs and mods in Bentley ? where can i get one of those? what tools would I need to do such things? thanks
  • From V8i to Connect with KISolid functions

    Hello, we are in the process of migrating from v8i to Connect SDK. We have many dlls and we need a little help to find some references that are probably relocated, or new ways to do the things we used to do through the old SDK. Lately we had been…
  • Add-in/Plug-in for Microstation

    Hi I've developed a Add-in for Microstation v8i with vb.net and I'm trying to figure out how to register key-ins so I can create a toolbar Icon to run my code from. I've found some code in the programming wiki but can't seem to get it to work. Does…
  • Do I need ProjectWise client to connect my C# application to ProjectWise Web Server

    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…
  • [V8i .NET] documentation

    Does anyone know where to find the documentation for the .NET api of V8i? Especially the documents containing some explanation on Bentley.Microstation.AddIn and Bentley.Microstation.WinForms.* Browsing the site I did find some examples and more, but…
  • Microstation Form Export

    Hi, I have created a microstation macro that can search for all ".DGN" files in a specific folder that the user chooses. below is the code i have written to do so: --------------------------------------------------------------------------------…
  • 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…
  • 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…
  • Re: can a program in Matlab call external program WaterGEMS

    Hello, I received your private message and answering your questions here so that others can benefit. What is WaterObjects.NET API? API is Application Programming Interface. In simple terms, it’s a way to communicate with the software or to its…
  • Re: List of Scenarios and realted alternatives for WaterGEMS and HAMMER

    Hello Willnow, We made a simple WaterObjects.NET tool that will allow you to generate a tabular summary of the scenario/calculation options and alternatives which can be copied/pasted to external applications like Excel. We will talk about the technical…