• Basic DgnFile Usage

    Aidan Schulze
    Aidan Schulze
    Environment: Windows 10 Enterprise 21H2 .NET Framework 4.6.2 Microstation CONNECT Edition Update 15 v10.15.02.11 mssdk10150076 Good day, this is a two-part question: How can I iterate over the models in a .dgn file, and then over…
    • Answered
    • 27 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
  • [C#] [Microstation updated 17] - Get element last modified date and user.

    Ivan Petrov
    Ivan Petrov
    Does the MicroStation API offer a method to retrieve the last modified date and the username for each element? how I can retrieve this data?
    • 4 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CE U17 C#] Render interactive points from (X, Y, Z, Color) parameters in the graphic area.

    Dart Vader
    Dart Vader
    Hi guys, I'm looking for a possibility to render interactive points from (X, Y, Z, Color) parameters in the graphic area. What I mean. I have some file with a collection of points. Each point has info about its position and color. I need to read…
    • 5 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CE U17 C#] Import Points Cloud

    Dart Vader
    Dart Vader
    Hello guys. Is it possible to import the points cloud file (for example LAZ) into a new empty 3D DGN file? As I saw there are a few similar questions that were created a few years ago. And in all questions, the answers say to use C++. But could do this…
    • 5 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • CE display rule apply to a view C#

    Ivan Petrov
    Ivan Petrov
    Hi I'm trying to implement a feature to "isolate" elements in drawings. (like on explorer form) my plan is next: 1. Create a display rule foreach (var elementId in elementIdToIsolate) { var elementsConditions = $"element.DgnElementSchema::GraphicalElement…
    • 8 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • ORD | Get Feature definition.

    Ivan Petrov
    Ivan Petrov
    ORD | 2021 release 2 update 10 | 10.10.21.04 In Ord, each element has a feature definition. Is there a way to get the feature definition for each element? I have a list of IDgnECInstance. I need to get their feature definition and description more code…
    • 10 months ago
    • Civil Programming
    • Civil Programming Forum
  • [CONNECT] EC Schema - Unload

    Vinoth Joseph
    Vinoth Joseph
    is there any option to unload / remove a particular schema from the design?
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • c# .Net MS Update 16 - Update text node text in cell

    Philip GUERREIRO
    Philip GUERREIRO
    Can anybody assist with the below, the textnode is within a cell element and have come across a few bugs 1. textline does not update 2. calling textnode.DeleteAllTextLines(); - deletes the entire cell public static void CheckElements(ElementEnumerator…
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [C# MicroStation Connect update 15] Command line switch -WA help text (same as setting MS_INITAPP)?

    Mervin Bowman
    Mervin Bowman
    I am looking into creating a C# console app that starts MicroStation silently (no UI) so I can open many DWG and DGN files and then further extract title block information. Looking at the command switches the -WA help text says " Specifies MDL application…
    • Answered
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C#] After ElementPropertiesSetter the Element is locked

    Frank Schneller
    Frank Schneller
    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…
    • Answered
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Connect 13 C#

    Donna Rodrick
    Donna Rodrick
    I am trying to get the line string information from a curve primitive type of line string, I am using the primitive to get the length of the line string and using other methods without any issues. Can someone tell me what I am doing wrong? . Thank…
    • Answered
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • How to call my application key in command microstation?

    Rajarethinam T
    Rajarethinam T
    Hi, I created .net C# microstation application.I have created the following addin cs file and Commands xml file.How to load my tool and send key in microstation to triger my application. using System; using System.Collections.Generic; using System…
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • C# Add-In Examples

    Dave Brumbaugh
    Dave Brumbaugh
    I just posted some sample Add-Ins to my Github site: https://github.com/DaveBrumbaugh/MostOfDavesClasses-CSharp-Wrappers-For-ProjectWise/tree/master/Samples/MSCE-AddIns You'll need MostOfDavesClasses.cs from the root of the site to build them. The samples…
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [C# CONNECT] Add constraints to element

    Andrew Kadyshev
    Andrew Kadyshev
    Hi all! I have 3 elements. Shape "A", Shape "B" and Line "L". I need create 2d constraint for them. Example: I finded classes for this task in namespace: Bentley.DgnPlatformNET.Constraint2d. But I did not understand how use it. Help me please…
    • 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
  • mdlSolid_ - DLLImport for C# in MS CONNECT

    Norbert Meier
    Norbert Meier
    Hello, can someone tell me in which DLL the "mdlSolid_ ..." funcions are defined? In V8i it was "stdkisolid.dll", but this DLL doesn't exist in CE. Thanks Norbert
    • Answered
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Updating Z values of a linestring element's vertices points. Applying the changes is not showing.

    Huy Ngo
    Huy Ngo
    Currently am using Microstation CONNECT (Update 10). Visual Studio 2015 Professional, c#, updating a DGN file. The concept of my tool is to loop of a collection of selected elements (Linestrings) and compare each line string with one another to see…
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Unable to get the angle from cell element.

    Bentley User29
    Bentley User29
    Hi All, I am using Microstation V8i (Select series 4) and c# language. i am trying to get the angle from cell element by using the following code but i didn't get the angle it's return always 0.0 only. Please anyone let me know what i did the mistake…
    • Answered
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • 【MSTN V8I SS3 C# Add-in VS2015 PRO】 Some questions about SolidUnion?

    Alisa LI
    Alisa LI
    hello,everyone: Here is my question.I want to union some SlabElement to a complex solid element, but I found that When I use the SolidUnion method to union hundreds of SlabElement s,the program will be very slowly.It takes minutes to complete it.…
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i C# Addin] Manipulate the Tasks Panel

    Skyler Hamilton
    Skyler Hamilton
    Hello again, I am using V8i Select Series 4, C# addin development. Is it possible to add/remove/update tasks in the task bar from the addin? I added the below "Custom Toolbar" toolbar/task manually and would like to manipulate it from the addin. …
    • Answered
    • over 5 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [.net addin] Infrequent problems with .id and .id64?

    iifuzz
    iifuzz
    Very rarely we encounter a problem where when accessing an element by id/id64 we get an error .net exception that says "Bad element" followed by microstation crashing. I have not been able to reproduce this issue consistently on top of it being extremely…
    • over 8 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [C# Addin] Why OpenPlant Modeler Can't Load Addin developed for Microstation V8i?

    Wence
    Wence
    Hi all, It's a simple addin by C# and works fine in Microstaion V8i SS3, but it can't be loaded in OpenPlant Modeler SS5. But if I start up OpenPlant Modeler SS5 using "OPModelerNoOPM.cfg", i.e. start up OPM as a Microstation, like this : "C:\Program…
    • Answered
    • over 8 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
>