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…
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…
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 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…
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…
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…
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…
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…
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…
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…
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…
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..
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…
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…
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.
…
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…
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…
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…
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…
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…
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…
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…
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,…
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…