• mdlSystem_newDesignFileAndModel and "File is currently in use by"

    Miroslav Mandl
    Miroslav Mandl
    Hi, IHAC that requests the V8i behavior in the CONNECT Edition. Currently we’re porting our old application from the V8i generation to MicroStation CONNECT Edition updt16 10.16.00.84 (updt17 port is coming). Our application runs as MSINITAPPS and…
    • 9 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Applying transform through EditElementHandle causes Element descriptor to change

    Lubo B
    Lubo B
    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…
    • 10 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Scale all elements in model by 25.4

    Daverode
    Daverode
    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…
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [C++ MDL Connect] Questions regarding native MDL

    Edward Ashbolt
    Edward Ashbolt
    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…
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [MSCE U16 C++] change Element color to Colorbook Color.

    Manuel Höger
    Manuel Höger
    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…
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [Connect update15 c++] Example set missing files, where can I download complete set?

    amender carapace
    amender carapace
    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…
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • OpenCities Map Advanced crashing after opening chart and changing model

    Lubo B
    Lubo B
    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. …
    • over 2 years ago
    • Geospatial Programming
    • Geospatial Programming Forum
  • [CE U14 Other] Request good custom Ribbon example of a DgnLib built from a XML

    Casper Roubos
    Casper Roubos
    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…
    • Answered
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Define a ACS with rotation Matrix

    Ole Gottwald
    Ole Gottwald
    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…
    • Answered
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Get and Set ACS

    Ole Gottwald
    Ole Gottwald
    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.…
    • Answered
    • 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
  • Load MDL app on Application Startup (MS_INITAPPS)

    Rajesh Varatharajan
    Rajesh Varatharajan
    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…
    • 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
  • Detecting a Cached Saved View Attachment in MicroStation CONNECT

    Peter Jones
    Peter Jones
    Hi All, I have some legacy VBA code from v8i that I'm trying to port over to the CONNECT versions - it's using a CExpression with a pointer into the referenceFile struct for a specific reference: Private Declare PtrSafe Function mdlRefFile_getInfo…
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • CE Update 13: Porting from MDL V8i. Programmatically add menu

    Robert Kock
    Robert Kock
    I'm currently porting 100+ applications for V8i written in MDL to native code (C++). Most of these applications are launched by selecting the corresponding item in the pulldown menu (see attached screenshot; Italian version) This menu is programmatically…
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Bulk fillet linestring via script file or VBA

    Jiten Halai
    Jiten Halai
    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…
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Draw Sections along center line and offset to centerline (C# Programming for microstation V8 2004)

    Manoj_Pal
    Manoj_Pal
    Hii All, I am new to microstation development. I am using C#.net and Visual Studio 2010. I want to do offset of a center line in both side and draw sections in a certain interval to the centerline. Would anyone help me to do this without using cadinputque…
    • over 9 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i ss3 mdl] mdlScanCriteria_setRangeTest

    John Schippers
    John Schippers
    Hi all, I want to scan a part of a model and the same part of an attached reference model. I can scan the whole model and whole reference model. The problem is to scan a part of the model. I tried the functions: mdlCnv_dRangeToScanRange (&scanRange…
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i C++] bmake building - unresolved typeref token

    SergeyFadeev
    SergeyFadeev
    Hi everyone! I am learning how to create C++ MDL applications. I am building my simple "hello world" application. It is created using the wizard (...) with appliation of the ILocateCommand Accept method, which outputs some message to the message center…
    • over 11 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [pre-V8] Alternate Coordinate Systems in external files

    Gary Shay
    Gary Shay
    Hi all, I'm using MDL in v7 and I'm trying to find a way to read in the ACS from another file. I've checked the TCB (type 9 element) in the file I'm reading and there is nothing that matches the ACS specified in the file. I've expanded the search…
    • Answered
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i MDL, MicroStationAPI] Text Fields API

    Jon Summers
    Jon Summers
    There is no API for text field s that I can find. The sole clue is DEPENCENCYAPPID_TextField in header file <dependency_appid.h> . An increasing number of users is asking questions about text fields. Various solutions to those questions present themselves…
    • over 11 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Re: [V8 C#] Click event handling (not ILocateCommandEvents nor IPrimitiveCommandEvents)

    dgutierrez
    dgutierrez
    Thank you both Jon and Jan. I've got some expertise in programming C# applications and I have already some developments for MicroStation, so I would like to try invoking the MDL API from C#. Nevertheless if it were necessary, I could also try to…
    • over 11 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • MVBA - mdlLineStyle_getElementDescr

    Pawel.Czuczwara
    Pawel.Czuczwara
    I'm trying to get all subelements of styled line by mdlLineStyle_getElementDescr by following code... And what I get is only one element of the line style, instedad of all subelements of all droped components. How to do make it work? Paul…
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • WORDPROC commands and/or syntax

    Christmas050873
    Christmas050873
    Fellow Microstation Programmers, I recorded a macro and got the following commands. I'd like to modify them to do other things, however, I don't know what commands ("moveCaretToPosition, changeEDF, etc.) are available. Also I don't understand the syntax…
    • over 11 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i MDL] Select Series 3 MS_DWGSAVEAPPLICATIONDATA=1 (or ON) not working

    Norman Smith
    Norman Smith
    I store critical data as type 66 level 20 application data. I have a Bentley assigned signature. This works for ALL versions of MicroStation. I have included the V8 code. This does not work in an AutoCAD DWG file with any version of V8 from 2004 thru…
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
>