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…
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…
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. …
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…
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…
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…
请问老师, 我把"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…
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…
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…
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.…
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.
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…
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…
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…
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…
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…
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 …
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…
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…
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…
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" 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…
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…
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…