• Setting up VS 2017 C++ project for debugging

    Daverode
    Daverode
    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…
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [U8 c++] Is there a way to cast RefCountedPtr <ParentClass> to RefCountedPtr <ChildClass> in MDL?

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

    amender carapace
    amender carapace
    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…
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT UPDATE13 C++] Toggle Point Cloud Snapping

    Tristan Brown
    Tristan Brown
    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…
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Ways to deploy my DLL to Microstation MA file

    Ajomon George
    Ajomon George
    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.
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • MDL .ma to Native code: setup and updating an old MDL application to native code/VS for v8i SS10

    Gary Shay
    Gary Shay
    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…
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C++] Editing a text element from its eeh

    Topaz
    Topaz
    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…
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Programmer Course

    Steven Watson
    Steven Watson
    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…
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Possible Parameters for a user function for a certain Event in *_setFunction

    Ines Wieland
    Ines Wieland
    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…
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [C++] Using libzippp libary in MDL-App

    Eugen Gebert
    Eugen Gebert
    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…
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C++] SmartFeature Error LNK1120 while trying to compile

    Stefano Beccaletto
    Stefano Beccaletto
    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…
    • Answered
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • DLL not unloaded, after MDL is closed (C++, v8i)

    Ines Wieland
    Ines Wieland
    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…
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i] In C++ code how to chamfer an edge of smart solid?

    Fes
    Fes
    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,…
    • Answered
    • over 9 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Compressing design changes features definition?

    Daniel Gontarek
    Daniel Gontarek
    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…
    • over 9 years ago
    • Geospatial Programming
    • Geospatial Programming Forum
  • PowerMap V8i - System fault 5

    Michał Piotrowski
    Michał Piotrowski
    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…
    • over 10 years ago
    • Geospatial Programming
    • Geospatial Programming Forum
  • Re: KIEDGE VS KICOEDGE

    Guanghe Li
    Guanghe Li
    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…
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [2004 MDL] need help in clipping the ellipse.

    sagar
    sagar
    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..
    • Answered
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • KIEDGE VS KICOEDGE

    Guanghe Li
    Guanghe Li
    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…
    • Answered
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [2004 MDL] Help comparing the points.

    sagar
    sagar
    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…
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [2004 MDL] Element Type count

    sagar
    sagar
    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..
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [2004 MDL] information needed

    sagar
    sagar
    Hello Everyone i am trying to develop a MDL program, a dialog box containing the two buttons 1.Function button: do the function of the code 2. cancel button. here i am confused what functions to use when i check the guide there are loads of…
    • Answered
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • About mdlKISolid_evaluateFace's input (u,v) and output.

    Guanghe Li
    Guanghe Li
    Hi guys, Recently I'm using mdlKISolid_evaluateFace to get the face's one point and its normal. About the input parameters u and v, I do not totally understand. I think (u, v) is the range from (0, 0) to (1, 1). As an example, I select two face, one…
    • Answered
    • over 9 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • How to get segment length from segmens of line of string element.

    ashish chandrakar
    ashish chandrakar
    Hi, How to get segment length from segmens of line of string element i am able to see it in microstation application element properties section but need a way to get it programmatically. Can any one please suggest me the APIs for that. Thanks…
    • Answered
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Get information from XAttribute

    Norbert Vásárhelyi
    Norbert Vásárhelyi
    I have a dgn file with XAttributes. I want to extract the datas from it. On the picture under the roads there is an osm_id and a name. I need these datas. I scan the dgn file and my callback function look like this: int DataHandler::TestCallback…
    • Answered
    • Info.jpg
    • View
    • Hide
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Native Dialog and MFC support

    Keith Martyn
    Keith Martyn
    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…
    • Answered
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
>