Browse By Tags

  • 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…
  • 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…
  • 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…
  • [V8i ss3 mdl] mdlScanCriteria_setRangeTest

    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…
  • [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…
  • commandNumbers Not Refelecting in keyin

    Dear Freinds, Aim: commandNumbers for giving command name in keyin using mdl (mc) with c in environment V8i . i have created h (.h - header file) by compiling rcomp exe through r (.r file) . #define CMD_SMARTMODIFY 0x01000000 /* INPUT */ ---…
  • 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…
  • Re: Dynamic Display of Elements

    Thanks for reply. But Private void fun_DynmicDisplay(Dpoint3d *ptP,int view,int drawMode) TransDescrP myTransient = NULL; myTransient = (TransDescrP) mdlTransient_addElemDescr ( NULL, msedNewElmP, FALSE, 0x00ff, NORMALDRAW, FALSE…
  • [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…
  • 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…
  • Dynamic Display of Elements

    Dear Freinds, I am working on mdl using c programming on V8.05 (V8) and V8.11 (V8i). For dynamic display elements mdlElmdscr_display (V8) is used. But it is deprecated in V8i. So, i am using mdlTransient_xxx functions using. My code snippet is…
  • MDL Function to retrieve design file unit resolution

    Hi All, I'm trying to find the mdl function to retrieve the design file's unit resolution. If anybody can point me in the right direction it'd be greatly appreciated. I'm also trying to retrieve the following settings from TerraScan; Master Unit…
  • Re: Create Notes in C#

    Thanks for the advice, but I can't follow him, because I work in OpenDesignFileForProgram. Thanks Lele
  • mdlElement_read - Can't seem to read string elements in a Text node in V8i (SS2)

    I am modifying a program that has the user select a piece of text so that information about that text may be extracted for additional processing. What I am running into is that when you select a Text Node (7) in this process, the code (below) accounts…
  • MicroStation V8i Minimize Event Handler

    I have an MDL Application that looks for the minimize event in MicroStation and minimizes one of my own application windows if the event is caught. I'm using mdlWindow_setFunction (WINDOW_MODIFYEVENTS, myOwn_WindowEvent) , but I no longer recieve an…
  • Cannot Abort Dgn Lib iteration (mdlDgnLib_iterate)

    I cannot get the call back function for mdlDgnLib_iterate() or mdlDgnLib_iterateSpecificDgnlibs() to stop the iteration process. I have tried returning a value other than SUCCESS and it still continues to iterate through the Dgn Libraries found in MS_DGNLIBLIST…
  • any one give me an example about the API ?

    HI , Thanks for that any one give me an example about the MDL Api, ’mdlBspline_leastSquaresToSurface‘…… I can not use it successfully !
  • Problem with DItem_TextRsc from DialogItemListRsc

  • Reading cell library

    Hi I have a problem reading a cell library that contains cells built up by cells. And the problem only is for cells, no other element types. When I read the library my callback function from the scan critera gets these elements: From cell 1: shape…
  • Developing C++ application with managed and unmanaged code

    Hi, Soon I should start developing a new AddIn. NET and it should use the functions mdlKISolid ... What I want to know is: 1. if I can call functions mdl in a managed C++ project, 2. if there are methods. NET that replace the functions mdlKISolid. Thanks…