Browse By Tags

  • [Connect C++ Update 16] Using Visual Studio 2019

    Hi All, I was hoping to get started with C++ MDL development and didn't have the hard drive space or desire to uninstall my current devenv (VS2019 Pro) and then have to reinstall VS2017 along with all the same features / extensions... so long story…
  • [Connect update15 c++] Example set missing files, where can I download complete set?

    I am going through all the examples under the bentley's example folder. I encountered several instances where there are files missing. There are others missing .cpp files and ones I have no idea what is missing. Some examples either don't work or…
  • OpenCities Map Advanced crashing after opening chart and changing model

    Hello! This week I found strange behavior in our plugin running on OpenCities Map Advanced 7. I´ve been trying to pinpoint the cause of this behavior and find out why is it happening. However, I got unlucky and decided to ask for some help here. …
  • Saving a custom variable inside a DGN file, so I can read it later during the opening [Microstation V8I MDL API]

    Hello everyone! I´m currently developing a little mechanism to do checks on my DGN files, and I would like to save a variable value (for example bool) into a DGN file. I mean like, value of my variable will be persisted with the DGN file itself. So…
  • MDL Applications will not load since they are not digitally signed

    Product: MicroStation Version: V8i, CONNECT Environment: N\A Area: Programming Subarea: General Problem When I try to load my MDL applications within MicroStation, I am met with the following…
  • [CE U14 Other] Request good custom Ribbon example of a DgnLib built from a XML

    Hi, Although I know this item is discussed more than once and most answers mostly points to the 'Ribbon Chapter' in the 'Microstation API', I still find it very confusing to get a clear picture. And even more so a working example. So can anyone shed…
  • 如何在VS2019中运行MDL例子?

    请问老师, 我把"UnmanagedSDKExample.mke"文件中的BUILD_USING_VS2017=1改成了BUILD_USING_VS2019=1, 但是黑窗口运行还是报错, 提示如下: C:\Program Files\Bentley\CIMPlatformSDK\examples\OpenRoadsExamples\UnManagedSDKExample>bmake -a Bentley Systems Make Utility. Version 10.00.00.26…
  • 命名表达式无法正常显示

    1、Microstation CE up10 中文版,新建命名表达式无法正常显示符号集,测试按钮灰显。请问这是什么问题?
  • Display Items in Group Box Item

    Hello, In my DialogBox, I want to group dialog items like text-inputs, labels and buttons. The Group Box Item can draw a rectangle around a group of dialog items. How am I able to group dialog items, so that they are shown in the box. My Code…
  • Define a ACS with rotation Matrix

    Hi, I'm using the function RotMatrix :: InitFrom2Vectors( DVec3dCR xVector, DVec3dCR yVector) to initialise a Rotation Matrix for a new ACS. RotMatrix acsRot; DVec3d xVector, yVector; xVector.Init(0, 1, 0); yVector.Init(0, 0, 1); acsRot.InitFrom2Vectors…
  • Get and Set ACS

    Hello, In the SDK is the example "ViewInfoExample". I build it, but it's not working correctly. If I change the Origin of the ACS in any View, the "View Info Description" doesn't show this change. Closing and reopening these windows doesn't help.…
  • Ways to deploy my DLL to Microstation MA file

    I am trying to find a way to deploy my dll built in c++ to my microstation application. Could you please suggest the steps to deploy it and convert to microstation ma and dll file? I am using Micrstation v8i SS6.
  • MDL Error: Unable to load library (DLL or MDL Shared Library)

    I am getting an error while trying to use an MDL custom functionality. Please find the attached image below: I am using OpenPlant V8i SS6 along with ProjectWise Explorer Connection Edition 329. We have setup this in our workspace. I have tried to…
  • Assistance with Creating Custom DLL Function to Call from MVBA

    Hello, I am attempting to upgrade an older V8i .MA macro so that it can be used with MicroStation CONNECT. Before diving into the specific details, here is a summary of my software and computer information. MicroStation CONNECT Edition - Update…
  • Load MDL app on Application Startup (MS_INITAPPS)

    I am facing some issues in Successful loading MDL apps on Startup. I have modified code as below and loaded MDL app. if (strcmp(l_str_argument.c_str(), "MS_INITAPPS") == 0) { mdlSystem_enterGraphics(); mdlInput_sendCommand(CMD_DIALOG_OPENFILE…
  • How to sign .ma file using rsign.exe

    Hi, I need to sign .ma application. I read .ma application can be signed with rsign.exe. But I didn't found rsign.exe in SDK location. Where can I find rsign.exe to sign .ma file. Also heard rsign.exe is not delivered with MicroStation Connect SDK…
  • [C# MicroStation CONNECT Edition Update 15] RealDWG API access through acdbmgd.dll

    Hi there, New to the MicroStation SDK - I am familiar with the AutoCAD ObjectARX lib. I see that RealDWG is included with MicroStation but when I am trying to perform the same code I have in AutoCAD it is not working the same within a C# MDL app in…
  • modify current ACS

    which are the steps to modify current ACS ? I should reset it (move origin to (0,0,0) and unrotate) I have tried the following code, but the current acs is not modified :( if (mdlACS_getCurrent ( &origin, &rotMatrix, &type, name, description …
  • log4net error when calling mdlSystem_newDesignFile in MicroStation 10.15.00.74

    All, We have a legacy MicroStation application which has been problem-free but which was recently tested running on MicroStation 10.15.00.74. The application runs as an INITAPP and never calls mdlSystem_enterGraphics. Upon calling mdlSystem_newDesignFile…
  • MDL .ma to Native code: setup and updating an old MDL application to native code/VS for v8i SS10

    Hi all - the new year's come around and we've got some new requests from our Engineering group that need to be addressed. The biggest one is an update to an automation program that was written in MDL and limped along in the old environment through v8i…
  • Error "building a simple MDL Application"

    Hi, I have a question about the HelloWorld example on webpage :" Building a simple MDL Application " When I try to build it, I get the error: MicroStation Resource Compiler 03.19.02 BMAKE: no rules to build C:\PROGRA~1\Bentley\MICROS~1\MICROS~1…
  • [CONNECT MDL] Reuse Dialog Box Item

    One of the benefits of MDL dialog boxes is that we can re-use dialog items. That is, one can define a dialog item once and use it many times, in one or more dialog item lists. This re-use idiom extends to MicroStation dialog items. We can incorporate…
  • Bentley Systems Position on "passcodes"

    Bentley Systems Position on "passcodes" by Frank Conforti The following position statement supersedes all previous statements or positions on this topic: Since the introduction of PowerDraft in the 1990s, MicroStation-based products have included…
  • [CONNECT C++] Editing a text element from its eeh

    Greetings, I'm currently struggling with some text modifications (C++ MDL, Microstation Connect Edition). I'm importing text elements from a DWG file into Microstation. I'd like to change some of their attributes before adding them into the DGN active…
  • Get a DgnModelRefP from a DgnAttachmentP

    Given a DgnAttachmentP pointer, how can I obtain a DgnModelRefP ? the GetParentModelRefP() seems to be something else (the model that contains the reference); I just need the reference itself, as I should call some functions like : mdlRefFile_transformAttachment…