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

    Ivan Petrov
    Ivan Petrov
    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…
    • 29 days ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Dgn file hash.

    Ivan Petrov
    Ivan Petrov
    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…
    • Answered
    • 1 month ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • how to start microstation connect edition programmatically in c#

    Diego Paredes
    Diego Paredes
    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…
    • 1 month ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • how to read dgn file with Bentley.DgnECPlugin3

    Diego Paredes
    Diego Paredes
    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…
    • 1 month ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [.net c#] [ORD 10.10] Get element template

    Ivan Petrov
    Ivan Petrov
    Each element can be assigned a template. How can I get the template associated with the specific element by Id or Element? I found out how to attach a template to a specific element but can't find an API to get the current element template. ElementTemplateMgr…
    • 5 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Open a .dgn file in background(batch processing)

    Deblina Sarkar
    Deblina Sarkar
    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).
    • 8 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • MicroStation CONNECT - Open Design File

    Ubaidullah Qureshi
    Ubaidullah Qureshi
    Hi, I am new to this forum and therefore request pardon in advance if I am not following any of the rules. I had developed an application (in VB.Net) to search & replace text in MicroStation V8i. Below is my Code I used to open Design File which…
    • 8 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • CONNECT C# U16.2 What is the difference in behaviour between Element.GetNativeElementRef() and Element.GetNativeElementRefFromDescr() and when should each be used?

    Francois Grobler
    Francois Grobler
    Hallo, In this post, Jon Summers commented the following: "I notice that there is a similar function public IntPtr GetNativeElementRefFromDescr() . How that differs from GetNativeElementRef() is not clear." Have you since found the difference between…
    • Answered
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CE U16.2 C#] Bridge between Bentley.Geometry.SolidPrimitive and Bentley.DgnPlatformNET.SolidKernelEntity to use Bentley.DgnPlatformNET.Modify Boolean operations?

    Francois Grobler
    Francois Grobler
    I have a DgnPrimitiveTool derivative that generates solids into a DGN from data in a database as an interpretation of the data. This tool can generate individual Solid elements using the SolidPrimitive.CreateDgnBox(DgnBoxDetail) function with no problem…
    • Answered
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • picking elements from reference files which are not active

    Varsha Reddy
    Varsha Reddy
    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…
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • C# .NET MS Update 16 View Attributes for Markers

    Stephen Holmes
    Stephen Holmes
    Using C# .NET MicroStation Update 16 I am looking to control the display of Markers in the View Attributes of each of the 8 views. Interop...Utilities.ComApp.ActiveDesignFile.Views[1]. gives me access to Fill On, Text On etc but no the Markers On…
    • Answered
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT Update 14 C#] Getting all of the Wall Centerlines from a DGN Drawing Automatically

    Kevin Richard Anggrek
    Kevin Richard Anggrek
    Hi everyone, I have a question regarding being able to recognize individual wall elements especially the wall's centerlines in a 2D MicroStation Drawing. My end goal is to use the centerline information of each wall object to recreate the wall in…
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT U13 C#] ElementChangedEventArgs gives the same element for eventArgs.NewElement and Element.GetFromElementRefAndModelRef(eventArgs.OldElementRef, eventArgs.OldModelRef)

    Francois Grobler
    Francois Grobler
    Hallo, I'm updating an existing suite of tools in a C# Addin that was previously written for V8i to CONNECT. As part of the update I am replacing the COM Interface calls as much as possible with the NET API calls in the CONNECT Edition. I have however…
    • Answered
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Read Attribute from Element in C# .Net

    Rajarethinam T
    Rajarethinam T
    I am using the following code for read the attribute from element by attributeIndex in c# .Net and Microstation V8 2004 Edition.But it shown errors like Unable to cast object of type 'System.Object[]' to type 'MicroStationDGN.DataBlock[]'..Is there any…
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Microstation v8 Addin

    Rajarethinam T
    Rajarethinam T
    Is any possible to create Addin for Microstation v8 2004 edition for my .net c# microstation application?
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Microstation connect

    saravana kumar
    saravana kumar
    We have developed some MDL Applications using Pseudo code in V8. As our management decided to purchase Microstation Connect Edition beginning of Jan 2021. (Budget problems) In order to save time, Can we do the MDL migration in two stages, Stage 1 (During…
    • over 3 years ago
    • MicroStation Programming
    • MicroStation 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
  • [CONNECT C# .NET] How to associate an ItemType to a parametric model and then create a variation associated with the ItemType?

    Trevor Watling
    Trevor Watling
    Hello, I am using OpenBuildings CONNECT Update 5, I think the version is 10.00.14.18 . 10.05.00.49 (Corrected). I am using the MicroStation Update 12 SDK. I am trying to create a variation (parameter set) in a model but I want to associate the variables…
    • Answered
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • GeoWebPublisher SDK for mods and customization

    Cristian Silvero
    Cristian Silvero
    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
    • over 5 years ago
    • Geospatial Programming
    • Geospatial Programming Forum