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

    Lubo B
    Lubo B
    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…
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Custom move element tool is not fast as the built-in Microstation "Move extended" when hundreds of elements are manipulated[V8i MDL]

    Lubo B
    Lubo B
    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…
    • Answered
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • MDL Function

    Kanmani Kandaswamy
    Kanmani Kandaswamy
    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,…
    • over 5 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • I want to Know the new function Name in MicroStation CONNECT.

    jianping ding
    jianping ding
    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…
    • over 7 years ago
    • Developers and Programming
    • Developers and Programming Forum
  • MDL C pre-V8. mdlElmdesc_read Error when reading from scan list

    Keith Dunwoodie
    Keith Dunwoodie
    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…
    • over 7 years ago
    • Developers and Programming
    • Developers and Programming Forum
  • Microstation v8 C MDL TagValue change not committed

    Keith Dunwoodie
    Keith Dunwoodie
    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…
    • Answered
    • over 7 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • User Preferences in MDL applications (v7 Native MDL)

    Gary Shay
    Gary Shay
    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…
    • Answered
    • over 8 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i C++] Using mdlListCell_setIconColorOverrides() to show true colour icon preview

    Piers
    Piers
    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…
    • over 8 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i MDL] Commands called by items in an IconPopupRsc

    Piers
    Piers
    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…
    • Answered
    • over 9 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [2004 C] Rotating a line

    César Argul García
    César Argul García
    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…
    • over 11 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
  • [V8i C++] MicroStation V8i SELECTseries 2 MDL coding

    Gary Shay
    Gary Shay
    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…
    • over 11 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • How to get "Global LineStyleScale" by MDL

    y_mori
    y_mori
    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. …
    • over 11 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [2004 C] How to use BusyBar and TrackBar ?

    Marco Suzzi
    Marco Suzzi
    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…
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Changing the Graphic Group of cell elements

    sreekanta manuru
    sreekanta manuru
    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…
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Re: Interface between Microstation and C

    Jon Summers
    Jon Summers
    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…
    • over 13 years ago
    • MicroStation
    • MicroStation Forum
  • How to set Function keys(F1orctrl+f1) for application

    sathish
    sathish
    Hi Gurus, How to set function keys for application or menus using MDL api. Thanks & Regards, V.Sathish
    • over 13 years ago
    • MicroStation
    • MicroStation Forum
  • Re: DRAW_PURPOSE_XXX combination

    Jon Summers
    Jon Summers
    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…
    • over 13 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i Programming Forum
  • Re: C# Geometry library

    Jon Summers
    Jon Summers
    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…
    • over 14 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i Programming Forum
  • Developing C++ application with managed and unmanaged code

    Lele
    Lele
    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…
    • over 13 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i Programming Forum
  • Problem when using mdlDialog_itemGetByTypeAndId

    Benoit
    Benoit
    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…
    • over 11 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8 2004 Edition Programming Forum
  • Re: Calling functions published with mdlCExpression_publishFunction()

    Derek Hunter
    Derek Hunter
    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,…
    • over 14 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8 2004 Edition Programming Forum
  • Re: how to use ustation.dll in c#

    Mark.Anderson
    Mark.Anderson
    Since using C# with the ustation.dll and getting started with the MicroStationAPI classes are really two seperate subjects I would suggest that you start a new thread. In this new thread it would help if you provided some information on what you need…
    • over 14 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8 XM Edition Programming Forum
>