Browse By Tags

  • Saving a custom variable inside a DGN file, so I can read it later during the opening [Microstation V8I MDL API]

    Hello everyone! I´m currently developing a little mechanism to do checks on my DGN files, and I would like to save a variable value (for example bool) into a DGN file. I mean like, value of my variable will be persisted with the DGN file itself. So…
  • 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…
  • MDL Function

    Hello All, How to call this lidar tmodel function //how to bind Dpoint3d and int to form a expression to evaluate using mdlCExpression_getvalue int FnSurfaceZ( Dpoint3d *Pt, int I) ; // with parameters mdlCExpression_getValue( &Val, &Res, Expr,…
  • I want to Know the new function Name in MicroStation CONNECT.

    I want to upgrade v8i program to CONNECT program,but i do not know same functions name in connect. v8i functions name : mdlKISolid_saveParts(char *fileName, int ascii, int xmtVersion, KIENTITY_LIST *listP); mdlKISolid_setPartName(KIBODY* pBody,char…
  • MDL C pre-V8. mdlElmdesc_read Error when reading from scan list

    I am trying to scan through a dgn and get the instances of tags in the drawing and then change specific tags by extracting the MSElementDescr, checking the tag name and tag set name and then rewriting the element with the upating MSElementDescr. However…
  • Microstation v8 C MDL TagValue change not committed

    I'm using a scan to go through all the tag elements in a dgn file. I then extract the value and change it and then create the tag in the place of the old one with the new value. I have checked the value this returns and this is successful. I then try…
  • User Preferences in MDL applications (v7 Native MDL)

    Hi all, First, the basics: Microstation v7, native MDL application, creating model for use with PDS v7.2 I have an application that takes an external data file and creates a 3D model in a new file. The dialog consists of two buttons to open standard…
  • [V8i C++] Using mdlListCell_setIconColorOverrides() to show true colour icon preview

    Hi folks, Simple really, I want to show the preview icon for a colour in my ListModel. I've found many colour functions that look like they should, but don't, so I suspect there is some trickery involved in the BSIColorDescr opaque structure. But anyways…
  • [V8i MDL] Commands called by items in an IconPopupRsc

    Hi folks, I have two problems with IconPopUp items. Firstly, I have a dialog box working happily, and I decided to copy the items into an IconPopup in order to modernise the display. To achieve this I copied the contents into a DialogItemListRsc, define…
  • [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…
  • [2004 C] Rotating a line

    Hi! I'm porting a VBA aplication to mdl. I've already done almost all the work, except a rotation that it's driving me crazy. I just want to rotate a simple line by it's center point 90º. Here is the code i'm using: mdlLine_create(&line,NULL…
  • [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…
  • [V8i C++] MicroStation V8i SELECTseries 2 MDL coding

    Hi all - new member, new to v8i I'm a programmer who created complex MDL (3d wireframe) models prior to taking an 8-year assignment in our IT group. I have also created dozens of utilities for designers to use, all using the old-style MicrostationJ…
  • How to get "Global LineStyleScale" by MDL

    Hi. I'm looking for the way to get the Global LineStyleScale of activefile, that users can get by Keyin "active linestylescale". I allready tried to following way : 1. tcb->lineStyle.scale. it is the parameter of active lineStyle. …
  • [2004 C] How to use BusyBar and TrackBar ?

    Hi, I'd like to replace the old CompletionBar with TrackBar or BusyBar but I found no documentation, examples or discussions about TrackBar and BusyBar. I did several experiments but I'm not sure on how to use these functions yet. Here a code…
  • Changing the Graphic Group of cell elements

    Hi Freinds, I am modifying the Linear elements along with Point Elements (Cell and Text). After matching with target elements by rotation and scaling the elements. It is lossing the Graphic Group and another GGroup will be assigning. So i have tried…
  • [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..
  • Re: Interface between Microstation and C

    MicroStation Development Library (MDL) muthukumaran: Can anybody tell how to intrerface Microstation and C Bentley provide MDL, which you can use to build MicroStation applications using the Bentley tools for compiling, linking, etc…
  • How to set Function keys(F1orctrl+f1) for application

    Hi Gurus, How to set function keys for application or menus using MDL api. Thanks & Regards, V.Sathish
  • Re: C# Geometry library

    High-Performance 3D Geometry Ben: Does anyone know of a good basic geometry library for C# that does things like returning the distance of a point from a line, and line line intersections etc? I could use the MicroStation ones, but that will be…
  • Re: DRAW_PURPOSE_XXX combination

    Arpan: I was thinking there is not much difference between delete and free … I noticed that you are using calloc , which indicates that you are allocating memory for an array of something. Using calloc is often dodgy because it's up to…
  • 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…
  • 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…
  • Re: Calling functions published with mdlCExpression_publishFunction()

    Thanks Michael, just knowing it was possible inspired me to try a few other things. In module 'A' I did this (error checking omitted): mdlCExpression_initializeSet (VISIBILITY_DIALOG_BOX, 0, TRUE); mdlCExpression_symbolPublish (pcSet2,…
  • Re: Newbie seeking help on Developing in Visual Studio 2005 C# for Microstation V8 XM

    MicroStation Development DeanBB: I believe Jon at LA Solutions has info on this on his site There's stuff about MicroStation VBA , and there's stuff about the MicroStation Development Library (MDL) . However, we've published nothing…