Browse By Tags

  • mdlXMLFragmentList_append changed from V8i to Connect 10.16.02.14

    Hi, I have a legacy code from V8i, that has this: XMLFragmentListP *pXMLData = (XMLFragmentListP*)args; XMLFragmentListP pCurrent = mdlXMLFragmentList_constructFromXMLFragmentElement (edP); if (*pXMLData != NULL) mdlXMLFragmentList_append (pXMLData…
  • Get StringList from mdlStringList_loadResourceWithType

    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…
  • List all C Expressions from old MDL

    I'm developing new addins to a system (+20 years old) and I need to handle with some old MDL which I don't have the code. This system also interact with Oracle and others systems, so I'm not even thinking to redo the entire system. I also don't have access…
  • Microstation Connect MDL Edit Tags in a Descriptor

    Hello: I have an issue related to edit tags using MDL on MS Connect. I'm trying to edit a tag attached to an existing cell. It is the code I'm using but I think something is missing. int can_tag = 0; int suma = 0; DgnTagValue val_tagm; DgnTagSpec…
  • [C# MDL] Create non-static commands, enabling inheritance from a base class

    Hi All, Looking for some advice here on creating MDL commands that allow inheritance from a base class... Reason being I plan to build out a heap of classes that inherit / override methods from a "base" class, to avoid having to manually call these…
  • The fastest way to check feature existence by UUID in DgnModelRefP

    Hi, In our application (called MacroTEL) we dynamically fetch features (in a loop) from an Oracle DB based on user’s zoom&pan operations. When the view’s old and new extents overlap, we get from the DB the same feature that we already have in the DGN…
  • 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. …
  • 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…
  • 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…
  • Custom move element tool is not fast as the built-in Microstation "Move extended" when hundreds of elements are manipulated[V8i MDL]

    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…
  • add a reference that should be translated and clipped

    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…
  • [CONNECT] set callback function when KEYIN queue element processed

    I develop plugins for the OpenCities Map PowerView CONNECT Edition application with C++. From one of my plugin I use the mdlInput_sendKeyin() function to trigger a feature in another plugin developed by me also. I want to log every keyin commands which…
  • How to activate particular parametric set/variation?

    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…
  • Tooltip for DItem_TreeRsc

    Hi, In V8i SS4/SS10 is there a way to disable the default tooltip this item shows automatically when a text doesn't fit into the tree cell? Our customer wants us to show a different tooltip, what we can do in the case the cell text fits. But it it…
  • Need Custom Traversing/Cogo MicroStation Tool

    I need to find or develop a custom tool that a MicroStation user can use to draw consecutive lines and tangent and nontangent curves easily. Accu draw is to cumbersome because you have to move from field to field, use your mouse to indicate direction…
  • Bulk fillet linestring via script file or VBA

    I am working on viaduct post tensioning & have managed to plot a 3D smart line for the tendons (~700 done automatically) but I am now trying to add fillets to them via a macro or VBA to bulk fillet each line based on a dynamic radius. For example end…
  • Looking for LOW VOLTAGE CIRCUITS solution

    Hi there, Is there any chance to find a sustainable solution to create high grade documentation of LOW VOLTAGE CIRCUITS? My vision is to create electric diagrams, BOMs tied to model. I got couple of ideas to share, dead-ends reached and mind open…
  • Announcing Bentley Map CONNECT Edition SDK x64

    The Bentley Map team is pleased to announce the immediate availability of the Bentley Map CONNECT Edition SDK x64 10.01.00.26 release on the Bentley Software Downloads site . The Bentley Map CONNECT Edition SDK provides Bentley Map application developers…
  • dwg to dgn

    I have the following requirement, can any1 help me to develope a tool / script for it ? for sure its not free i will pay for the professional services offered, for more details and discussions can message me in the form and also at skhan4u@gmail.com…
  • Why are there no LEARN MDL training resources?

    Why are there no LEARN MDL training resources? Haven't Bentley held any MDL training courses in the last decade? I went to a 5 day course back in '92 and a 3 day advanced Course in 96 (held by Koreenreef in hoofdorp?) Surely there is a enough difference…
  • 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…
  • starting a new bentley map session

    I have a problem creating a new microstation object from my current session ( that i should use to perform some file operations without closing current dgn ) the problem is that i need a bentley map session ( that is, to load a specific configuration…
  • How to reference a protected DGN file with password through a MDL program (V8i)

    Hi everyone, A query addressed to someone who has worked on MDL with password protected DGN files. The situation is the following: Microstation allows password protection of DGN files. Then you have to enter the password to be able to open or reference…
  • 关于MS connected版本的渐变色填充

    MS ce版本开发,想对一个元素使用渐变色填充,比如使用彩虹色填充,在帮助文档中找到 AddGradientFill ( EditElementHandleR eeh, GradientSymbCR symb),这个函数,但是不知道这个函数怎么使用,关于 GradientSymbCR 的描述非常少,不知道里面的函数SetKeys()等怎么用。可否提供一段样例代码学习下?