Browse By Tags

  • 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…
  • What are the differences between the MacroStation .Net and MDL Native Code APIs?

    I took a quick look at MicroStationAPI.chm and MSTNPlatformNET.chm. Seems MicroStationAPI are Native C++/C APIs, and MSTNPlatformNET are .Net APIs like C#, and VB net. Both have object model. But the Object Models of MicroStationAPI and MSTNPlatformNET…
  • [V8i C# MDL] mdlView_getClipBoundaryElement not working

    Hi, I had an issue on calling mdlView_getClipBoundaryElement() which is the opposite problem of the post below. I was trying this with AECOsim V8i SS6 and VBA approach did work. However, it gave me -168 error code and Element ID as 0 all the time. I…
  • [V8i C# MDL] mdlView_setClipBoundaryElement -168 MDLERR_NOCLIPVOLUME - Help!

    Wondering if anyone would be able to help with an issue I have setting the clip volume for a view using mdlView_setClipBoundaryElement. Here's the implementation: [DllImport("stdmdlbltin.dll", CallingConvention = CallingConvention.Cdecl)] internal…
  • [V8i C#/MDL] Translating StatusInt into something readable.

    I wonder if anyone could help please? I've got various unmanaged MDL functions in a C# addin for microstation v8i. The implementation of these is fine and when they work it's great. Here's some code for background: [DllImport("stdmdlbltin.dll", CallingConvention…
  • [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…
  • [CONNECT C#] Long-running MDL App that can Import Models

    Sorry if this ends up being several questions. If I need to split it up into a couple of different threads, I can do that. I'm trying to create an MDL app that will run in the background while the user has a .dgn open. That seems to work, if I add it…
  • 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…
  • [V8i C#] PInvoke MDL functions error

    I'm attempting to invoke various MDL functions in a C#.NET project. I've successfully managed to do the following: [DllImport(@"C:\Program Files (x86)\Bentley\MicroStation V8i (SELECTseries)\MicroStation\stdmdlbltin.dll")] private static extern void…
  • Inroads

    Hello again, A large part of my job occurs within Inroads. I have been reading some of the Inroads SDK while working through the MicroStation SDK. I notice that in the examples for Inroads that the code is shown as Visual C++. I see things like handles…
  • Is it possible to use dialog item like V8i task navigation menu for user command ?

    Hi all. Now, I customize user command dialog. Could someone please teach me that Is it possible to use MDL DialogBox item like V8i task navigation menu witch can show and close container items? (like following picture) Or, if it's impossible…
  • How check which command (some id or something) is currently active in Microstation

    or maybe is possible to disable some microstation commands at runtime (ie trim or extend) I have to limit user to use only commands implemented im my app (to place and/or modify elements). Perfect way is to disable even keyins (PLACE LINE etc..…
  • C++ clients for a .NET DLL

    C++ client implementations The question "How do I use .NET with my MicroStation application?" crops up frequently on these Forums. In an earlier post I described how to implement a .NET COM server . A COM server is compatible with VBA, C++,…
  • is there a mdl api to publish the dgn file to i-model file?

    Hi there, Is there any api to publish a dgn file to the i-model file?either native or managed api? Thanks in advance. Gang