• 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
  • OpenBridge crashing when trying to debug SDK example

    Cesare Caoduro
    Cesare Caoduro
    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…
    • 2 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
  • [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
  • 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
  • scan GroupedHoleElement

    Miro Cecho
    Miro Cecho
    I would like ask if it is any way in .Net environment to scan GroupedHoleElement (expect for using interop lib). I tried use (var curveGroup = e.GetCurveVector();) and it exposes components foreach(var curve in curveGroup) { CurvePrimitive x = curve;…
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i C# Addin] VS2017 Community element properties not displayed, showing up as {System._ComObject}

    theGreg
    theGreg
    Good day all, I haven't found a similar question to mine, so i decided to write one. I am using VS 2017 Community Edition, version 15.9.4 and i used the InnovoCAD v8i C# Template as published on the VS Marketplace. The problem I have is that when…
    • Answered
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Connect C# template for Visual Studio2013

    Dharma Rajan
    Dharma Rajan
    Hi, Microstation Connect Edition update 8(version 10.08.00.37) and SDK is installed and Visual Studio 2013 is already exist. But When I try to create a new project by using Visual Studio2013, under 'Templates' Bentley for C# is missing. How to resolve…
    • Answered
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Las file loading without converting into pod

    Daniel Christopher
    Daniel Christopher
    Hi Team, Programmatically can i load las file directly into MicroStation V8i (SELECTseries 4) Version 08.11.09.829 without converting into pod format ? Thank you, B Daniel.
    • over 5 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • How to get the ECProperty's Group Name?

    Rick cheng
    Rick cheng
    Hi All, I am now have a C# addin on top of Microstation EC, my addin now can read all the ECproperties from the DgnECInstance, but i can't tell the property belong to which group, when check the instance properties with Microstation we can see the…
    • Answered
    • over 5 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • TagElement

    vaqef payfoon
    vaqef payfoon
    Dear Guys i am using MicroStation V8i 2008 Edition and my code is MicroStation C# addin . i am drawing line element and i wanna give an id for that i think TagElement and TagDefinition is the answer but i couldn't find a sample how to use that if…
    • Answered
    • over 5 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • 【C# Microstation V8i】 How to determine if an element is 2D or 3D?

    Alisa LI
    Alisa LI
    hello: My Microstation version is v8i ss3, my programming language is C#, and Visual Studio version is 2015 Professional, add-in. As the title says, I want to determine if a Cell contains 3D elements. If it contains, hide this element. Here is my…
    • Answered
    • over 5 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Microstation connect ElementChangedEvent ChangeTrackKind

    Markus Hannweber
    Markus Hannweber
    Hi, I overloaded the ElementChangedEvent event and get a ChangeTrackKind value in eventargs.Change Delete = 1, Add = 2, Modify = 3, ModifyFence = 5, Mark = 7, ModelAdd = 9, ModelDelete = 10, AddXAttribute = 11, DeleteXAttribute = 12, ModifyXAttribute…
    • over 5 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • 【C# Microustation V8i 】 How to modify multiple element information ?

    Alisa LI
    Alisa LI
    How to modify multiple element information by reading the information in EXCEL, such as the radius of the circle, I have already obtained EXCEL data, and use the data to modify the radius of the circle (for example), using the Rewrite method, But…
    • Answered
    • over 5 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • 【MSTN V8i Addin C# 】How to get all the elements in the model?

    Alisa LI
    Alisa LI
    Hello everyone: How to get all the elements in the model, I use the Scan method in the VBA interface but it did't work. Is my code wrong or there are other ways to get the elements in the model? public void Dynamics(ref Point3d Point, BCOM.View…
    • Answered
    • over 5 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [C# MicroStation v8i ss3] Create a table

    Alisa LI
    Alisa LI
    Hello everyone, I want to create a table programmatically in Microstation v8i ss3. My software is vs2015 and the programming language is C#. The content of the form is taken from the user-defined attributes. How can I implement this function? …
    • over 5 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Does we have the same level of api access(access Bentley DGN files with full fidelity) when develop extension on top of Microstation with a C# addin and a MDL application.

    Rick cheng
    Rick cheng
    Hi all, I am new to Microstation development, and recently i want to develop an extension which is to "read" DGN file data(geometry, properties, reference...), i am not familiar with the MDL development environment( especially about the make file…
    • Answered
    • over 5 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Is there a process limitation to the bentley.interop.microstationdgn?

    TMA
    TMA
    We need to process approximately 200,000 dgn files. We would like to process these files on a server for obvious reasons. We have created a c# script that uses the bentley.interop.microstationdgn library. The script works for a while for like maybe…
    • over 6 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i C#] How to get the DisplayName of a property from PropertyDef

    Nikolay Tsonev
    Nikolay Tsonev
    I'm writing an add-in in C# using the Bentley Map API where I need to show the DisplayName of a property (of a feature) but in PropertyDef there's no such property than can get me the DisplayName. So how can I get the DisplayName of a property from…
    • over 7 years ago
    • Geospatial Programming
    • Geospatial Programming Forum
  • RE: [V8i C# MDL] How do I marshal a MDL structure in C#

    Francois Grobler
    Francois Grobler
    Hi Darren, I know this question is from a long while ago, but maybe this can assist someone having the same problem. This answer is in response to your bigger question "How do I marshal a MDL Structure in C#". I have created a class for marshaling…
    • over 7 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Copy One Model Element to another Model in Single DGN

    suresh p
    suresh p
    HI All, Have any idea about copy model element to another model use Bentley C# Code.. I have code for copy model 1. ModelReference MdlRef = msApp.ActiveDesignFile.Models.Copy(msApp.ActiveDesignFile.DefaultModelReference, null, null ); but…
    • over 7 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [v8i C#] CadInputQueue - wait?

    Keith Ouellet
    Keith Ouellet
    Is there a way to wait for a previous CadInputQueue function to complete before invoking the next? for example: mstn_app.CadInputQueue.SendCommand( "MOVE ICON" ); mstn_app.CadInputQueue.SendDragPoints( ref point, ref point2,1); I would want to…
    • over 7 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [v8i C#] CadInputQueue

    Keith Ouellet
    Keith Ouellet
    What is the difference between CadInputQueue.SendDragPoints and CadInputQueue.SendAdjustedDragPoints? I cant seem to find any literature explaining what they do. Thanks
    • over 7 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
>