• [C# MicroStation CE] Prevent entering modal state / close dialogs

    Hi all, I am currently building an application for processing dgn files using IPC (inter-process communication) method. Everything seems to be working quite nicely except for when a modal dialog is created that will block the current thread, preventing…
  • [CONNECT 10.16.3.31] How to export cells to fbx via C# / MDL?

    Hi, I'd like to create a MicroStation add-in to export cells as separate fbx-Files. The provided DGN file show quite a lot of references, nested up to 4 levels. The cell library originally used is not provided. I think enumerating/scanning the cells …
  • [C# MicroStation CONNECT update 15] Does MicroStation API's provide logging capabilities?

    What is the suggested way for logging an MDL app that is loaded with no MicroStation UI through MS_INITAPPS? I tried the basic Console.WriteLine but nothing ever gets printed on the Windows cmd window. I have some System.Console.WriteLine( ) within the…
  • RE: [V8i C# MDL] How do I marshal a MDL structure in C#

    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…
  • [V8i C#] System.ExecutionEngineException Error

    Hi, I'm trying to place a cell using the C# API which worked previously in v8i (08.11.09..209) but I have recently switched to V8i (08.11.09.459) and after recompiling in this it crashed Microstation with the exception: "An unhandled exception of type…
  • [V8i C# MDL] How do I marshal a MDL structure in C#

    I'm trying to pass two stuctures to the mdPattern_addAssociative2 function in C#. The structures are the PatternParams and DwgHatchDefLIne. I have the following defined: [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)] public…