Hello, I have a following problem: weird behavior is happening on Opencities (link to question, https://communities.bentley.com/products/geospatial/desktop/f/bentley-map-forum/238486/changing-scale-of-a-cell-causes-the-subelement-line-linestyle-scale…
Hi
I want to stroke a complex chain element and into an array of points. In V8i I used the function mdlElmdscr_stroke:
#define SCALE (mdlModelRef_getUorPerMaster(MASTERFILE))
if (mdlElmdscr_stroke(&pptdPts, &iVertices, pedCurve, 2.0 * SCALE) == SUCCESS…
Hi!
I have a native MDL application that runs perfectly in MicroStation Update 16, but in MicroStation Update 17 I get a MDL loader error 127
I'm using the latest MicroStation SDK when compiling the application.
I have other native MDL application…
Hi all,
MicroStation Connect
Update 13
Version10.13.00.48
I am doing some programming in C++/MDL.
I want to change some linestyle names in resource files programmatically.
With the function mdlLineStyle_nameGetStringList there is the…
I'm using Microstation Connect Update 10 and I'm trying to modify a dgn file(not the active file) and then save it as a dwg file for our cnc operations. Part of the modifications include dropping all the cells and complex elements to geometry, deleting…
Hi all,
I have been experimenting building a native solution and have a few questions, hopefully someone might be able to give some advice to save me pulling any more hair out!
Is it possible to build a CLR class library and load that in Microstation…
Hi Guys,
I neet to set the color of an Element to a the color CLASSIC 840-HR:6006.
At the moment I'm only capable of passing a Color Index to the element using the Code:
DgnFileP activeDgnFile = ISessionMgr::GetActiveDgnFile();
ColorBookPtr…
Hello,
In V8i we used to use the mdlTable_* and mdlTableEntry_* functions, all from the table.fdf. In the CONNECT Edition (Update 14) these general functions are missing. In what way can we achieve the same functionality?
mdlTable_addEntryDescriptorToChain…
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…
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.
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 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…
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…
Hi everyone,
When we migrate our application from V8i to connect we found the mdlMinDist_betweenElms dot does not work as intended. in V8i we use mdlMinDist_betweenElms for example a cell and a line, but since CONNECT it does not work anymore.
So…
Hello! It´s me again, with a question.
I´m currently working with a Microstation V8i SS4 version, where I needed to add my own functionality to the move tool, so I´ve decided that I will implement myself it with MDL API, as VBA didn´t offer me the things…
How exactly can i get the modelRef after begin attachment ?
I'm trying with:
modelRef = builder.GetDgnAttachmentCP()->GetDgnModelP();
but the reference is not translated nor clipped, so i suppose that's the problem (the only difference from v8i…
Microstation Connect Edition Update 14 - C++ Native - SDK
In a particular model, I have added one variation/Parametric set using API - (IDgnComponentDefinitionModelHandler) -> CreateParameterSet().
I have also created associated variables with this…