Browse By Tags

  • [Microstation CE Update 17] [C#] | Update buffer | Undo previous change

    I have the next code: public void Update(IDgnECInstance instance, string propertyName, string value) { instance.SetAsString(propertyName, value); instance.WriteChanges(); } How can I enable users to reverse actions performed in my custom form using…
  • 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 start microstation connect edition programmatically in c#

    I currently have this code in C# in a console application, the only thing at the moment is wanting to open microstation connect edition, but unfortunately it throws an error or returns null static void Main(string[] args) { try { Type type1…
  • Open a .dgn file in background(batch processing)

    Hello all, I am new to Microstation Connect Edition api. I will like to know if we can open a .dgn file in background(batch processing).
  • [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. …
  • Text movement

    [MicroStation CE 16]I have created a circle with some text inside it and a line associated with it (Its like annotation, it is annotating some selected element's information in it) and I want to move whole annotation(Circle, Text, and line) along with…
  • Creating of circle from edge

    [MicroStation CE 16 (C#) ]How to create a circle using edge point instead of creating from the center in C#
  • 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 UPDATE13 .NET] UnloadAddIn

    OS: Windows 10 Application: MicroStation Connect Edition update 13 - v10.13.01.01 Language of the Application: C# .NET Framework: 4.7.2 Goal: To unload the AddIn when MicroStation Connect closes a file. Workflows to support: Workflow 1…
  • [MicroStation 10.14 C#] Create Note dimension element text

    Referencing a previous post about creating dimension elements in C#: https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/112608/c-connect-how-to-create-dimension-elements I've been trying…
  • [CONNECT U14 C#] Questions about the Formatter for the NET API

    I have questions regarding the usage of the formatter for NET API based on http://www.la-solutions.co.uk/content/CONNECT/DgnPlatformNet/Mensuration.htm : 1. In the article, it is mentioned that the formatter is Initialised using active DGN model coordinate…
  • [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…
  • Microstation v8 Addin

    Is any possible to create Addin for Microstation v8 2004 edition for my .net c# microstation application?
  • Why can I not see the SDK download?

    Is it something that you have to pay extra for? I am on connect update 13
  • [CONNECT C#] add dgn model reference using .NET and change some reference settings

    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…
  • How to download SDK for Microstation-Connect

    Hi, How to download SDK for Microstation-Connection edition update 8(version 10.08.00.37)? Based on the following link, we tried. But we cann't able to identify the link related to SDK. https://communities.bentley.com/products/microstation/f/microstation…
  • 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
  • Automating workflow to ceate terrain model and export to .dtm format

    I need to create terrain models and export to .dtm format. I created a vba script that will do this, but it accesses the Create Terrain Model from Point Cloud tool, which opens up the dialog window. Is there a way to just access the assemblies directly…
  • 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…
  • [Microstation v8i, C#/C++] How to get the ElementRef and DgnModelRef from a C# API element?

    I am trying to get the ElementRef and DgnModelRef from C# API of elements I have selected so I can pass through to some Native MDL code that needs to use them? From searching through these community forums and browsing the C# functions/properties I…
  • Custom Linestyles won't resymbolize if they are in a reference file

    We have an MDL application (since ported to Native Code) that resymbolizes elements on the fly based on user specified criteria. Changing Color, Style, and Weight are the most common uses and this application has worked just fine for many years. I am…
  • Absturz bei Text suchen/ersetzen

    Produkt(e): MicroStation Version(en): 08.11.09.x Umgebung: N\A Produktbereich: Text Produktunterbereich: Text suchen/ersetzen Problem Plötzlicher dauerhafter Absturz bei Text suchen/ersetzen…
  • .NET vs MVBA

    Hi all, Sorry for the naive questions, if they have already been answered on the forum, I am unable to find answers to this question. If they are answered already, please point me to the thread. I would like to know a few things about .NET and MVBA…
  • [C# addin] Processing files in another thread works much slower than in UI

    Hello, I'm writting C# addin to process multiple .dgn and .dwg files. It searches for specific text elements and does some processing on them. I must process these file in another thread because user must have option to "Cancel" the processing of…