Browse By Tags

  • [Connect] Technique for trusting C# MDL to work when stored on network drive

    I have been struggling for a few days trying to get C# (.NET 4.6.2) MDL's to work when they are stored on a network drive. I am currently getting the message "MDL Loader: Could not load application. xxx" when I move the MDL's to a network path and update…
  • 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…
  • MicroStation V8i SS4: MS_MDL v.s. MS_MDLAPPS?

    Hi MicroStation Experts, I am using a MicroStation V8i SS4. Anybody know the key difference between the two variables: MS_MDLSPPS and MS_MDL? In help document I saw the description: MS_MDLAPPS (Visible MDL Applications): Search path(s) for MDL…
  • 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…
  • 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…
  • 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 me to know about Bmake.

    I am new to this MDL and still learning it. i want to know how bmake works i ve searched alot but couldnot find the information. I ve run the example from the la-solution called "stroke" when i run it, created the object folder containing the OPT File…
  • [Pure MDL] I know I'm doing something wrong.

    All, We create 3D models of thin sheet panels that make up the 'skin' of a large box. These panels are Microstation Surface elements and are usually (98% of the time) parallel to the x/y/z axes. I am extracting size and position data from that to be…
  • [pre-V8] Alternate Coordinate Systems in external files

    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…
  • [V8i MDL] Select Series 3 MS_DWGSAVEAPPLICATIONDATA=1 (or ON) not working

    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…
  • mdlKISolid_getSurfaceElements() crashes for a particular element, throwing a stack overflow exception

    Hi, I'm currently working with mdlKISolid_getSurfaceElements() in order to split a Smart Solid. But it is throwing a stack overflow exception and finally crashes.I guess this is because of many BSpline curves present in that solid. Can someone help…
  • [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…
  • [V8i] MDL LOAD fail if dgn is located on fileshare

    Application: MS SS2 and MS SS3 (08.11.09.357) HW/SW: Any Location of workspace + mdl: tested both local and on network. Hi. This is my first post on Bentley forum, as a result of chating with Conor King from Bentley support, issue #7000061864…
  • [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..
  • [2004 MDL] information needed

    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…
  • About mdlKISolid_evaluateFace's input (u,v) and output.

    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…
  • MDL Development for Microstation J / Generate Resource Source

    All, We have an application that relies on MicroStation J. The group that uses it wants an MDL application written. Although it's been a few years since I worked on it last, I remembered that there was a resource file builder/creator in the Microstation…
  • Microstation v7 MDL: Getting selected TCB data from an external design file

    All, I'm not having much luck finding this information for v7. What I have is a drawing file (in 3d) that needs information from a 3D model put into a chart on the drawing. The drawing file is not necessarily in the same resolution as the model…
  • Plotting control via MDL

    Hi all, I have a pre V8 mdl app that I'm attempting to bring into the V8 realm. This app has plotting funcitonality that does some customisation of the drawing before sending it off to the plotter. I've discovered that plotStat is no longer available…
  • Embed image on Dialog

    Hi, Is it possible to add an image banner onto an mdl dialog box? Thanks in advance, Ian
  • Problem when using mdlDialog_itemGetByTypeAndId

    Hello, My program fails on certain conditions when I'm using the mdlDialog_itemGetByTypeAndId function. Here is the definition of my dialog box : DialogBoxRsc DIALOGID_plaapPlacementAppareil = { DIALOGATTR_DEFAULT|DIALOGATTR_UNCLOSEABLE, 67.83…
  • Customise microstation v7 and v8

    Hi Friends, I am new to programming and really need supports from you guys. 1. Anybody can help me to use MDE for v7 or can give me a detail guide how to use v7 MDE? 2. Can anybody give me a reference guide to customise microstation v7 or v8…
  • Labels, Units and resolution

    I am not a programmer, but I need correct information to entice my programmers to fix this. We have some in-house developed routines. For example, a little routine that places title size text with a separate line under it, same length as the text string…