Browse By Tags

  • Setting up VS 2017 C++ project for debugging

    I'm trying to setup a vs 2017 c++ project to debug a MDL project I created with Microstation SDK Command Utility. I'm using Promis.e Connect Update 10 (Latest Build). I'm not 100% sure what version of Microstation that translates to, but the add-ins…
  • [U8 c++] Is there a way to cast RefCountedPtr <ParentClass> to RefCountedPtr <ChildClass> in MDL?

    Is there a way to cast RefCountedPtr <ParentClass> to RefCountedPtr < Child Class> in MDL? The ChildClass inherents the ParentClass
  • [Connect Up15 c++] Is it possible to click once to place element, pop up UI box, and second click to confirm modification?

    Hello all, I am practicing DgnElementSetTool So far I am able to use _OnDataButton() to place a element. I have the UI box pop up with start of command and could modify the element before I place it with a click. I use _OnDynamicFrame to show effect…
  • [CONNECT UPDATE13 C++] Toggle Point Cloud Snapping

    OS: Windows 10 Application: MicroStation Connect Edition update 13 - v10.13.01.01 Language of the Application: C++ Goal: Set the snapping of created point cloud entities to off by default Below is the point cloud options of imported point clouds…
  • 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 .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…
  • [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…
  • Programmer Course

    Hello Everyone I just started a new job. We are using Microstation v8i and moving to Connect. Who offers a course on writing C/C++ apps and DLL's? I have the book Microstation VBA and been reading all you guys have to offer but still missing the mark…
  • Possible Parameters for a user function for a certain Event in *_setFunction

    Hallo everyone, I am trying to write an MDL that recenters certain views when a datapoint or tentative Point is placed in a specified distance from the last one. For this task I want to use e.g. the mdlState_setFunction(STATE_DATAPOINT, centre2_processDataPoint…
  • [C++] Using libzippp libary in MDL-App

    Hey Guys, i want to use an extern libary, in this case the libzippp libary, to work with zip-files. I'm working with Visual Studio 2017 and I linked every libs staticly in the .mke file: LINKER_LIBRARIES = $(mdlLibs)bentley.lib \ $(mdlLibs)mdlbltin…
  • [CONNECT C++] SmartFeature Error LNK1120 while trying to compile

    Hello everyone, I'm new as a MicroStation developer and I'm trying to code an AddIn in C++ that extract the Smart feature tree from a DGN file. The problem that I have at the moment is a compiler error using bmake. This error it appears only if I'm…
  • DLL not unloaded, after MDL is closed (C++, v8i)

    Hello, I am just writing a short MDL for v8i (select series 4) in C++ that should mark all Elements in the file (by changing the line-weight), that fit to certain Database-criteria. There is a Modal Dialog that allows to Switch on or off 4 different…
  • [V8i] In C++ code how to chamfer an edge of smart solid?

    Hi, I was trying to create a smart solid then chamfer an edge in my code, I used mdlKISolid_setConstantChamfers() function but it seems nothing happened. Could anyone give any suggestion or hint for that? like which API function should I use etc,…
  • Compressing design changes features definition?

    Hello I have strange behavior in Bentley Map SS2 I have changed gasMain example, to use different feature display name than name: // Initialize "GasMain" root feature definition xfmFeatureDef_new (&featureDef); xfmFeatureDef_setName (featureDef…
  • PowerMap V8i - System fault 5

    Hi. I have a problem with creating complex elements from mdl application. Our solution works on Microstation 8, works on PowerDraft V8i but doesn't work on PowerMap V8i and Bentley Map V8i (SELECTseries 2). During creation of objects suddenly program…
  • [2004 MDL] Help comparing the points.

    I want to compare the end point of line with the start point of the adjencent line. in the fig attached let the green line be Line1 and Red line be Line2 the two lines are connected at a point now i want to compare the end point of line1 with start point…
  • Native Dialog and MFC support

    I'm doing native code MDL development using C++ and VS2008 and Microstation V8i (08.11.05.17) I'm a dotnet developer and now a the basics of MFC and Win32 programming. I am trying to understand the difference between native window and MFC dialog…
  • Tool aborts when upgrading V8 ma to V8i using Native code (C++ using mdl)

    Hi Freinds, One tool auto reference dgns,detach dgns and exchange the model (opening file) tool is working fine in microstation V8.04 series. And while upgrading same tool native code in Microstation 08.11 series is aborts while attaching and exchange…
  • [V8 2004 MDL] copy the ellipse?

    I am trying to copy the ellipse from the main file to other file using MDL but i don't know what to do? please help me. I am new to this Microstation. regards sagar..
  • Re: [2004 MDL] Help me to get total number of end and start points.

    Unknown said: What is final goal? In this thread, i want to get the total number of end point and start point where a numbers of line strings connected to each other.. Unknown said: What are you trying to do? actually i am trying…
  • How to append MDL dependency linkage with an element in external reference ?

    Hi. If you know the solution of following matter, please kind someone teach me. When an element in external reference file be appended to an active node element as MDL dependency linkage, I failed to set the valid refattid member. Now, I investigate…
  • Re: KIEDGE VS KICOEDGE

    Hi, Brien Thanks for your reply. What I want to do is to get the solid body's faces from the new sheet body. I want to know the face associated with the sliced wire body because there are some information on the face. I just want to get some…
  • [2004 MDL] need help in clipping the ellipse.

    Hi I am trying to clip the ellipse but the problem is in the boundary that i could not clip the ellipse to make it half either semi circle or other. please help me to sort out this problem. regard sagar..
  • KIEDGE VS KICOEDGE

    hi,guys Can any of you explain the difference between KIEDGE and KICOEDGE? What I want to do is to get faceIDs after calling mdlKISolid_slice. First, I call mdlKISolid_getEdgeList(bodyList, slice), then, from each body I can get each face…
  • [2004 MDL] Element Type count

    What is the function to count the total number of elementtype used in the dgn files? for eg. there we use line linestring shape etc and i want to count all the element type used there. please help me. regards sagar..