I'm trying to setup a vs 2017 c++ project to debug a MDL project I created with Microstation SDK Command Utility.
I'm using Promis.e Connect Update 10 (Latest Build). I'm not 100% sure what version of Microstation that translates to, but the add-ins…
Hello all,
I am practicing DgnElementSetTool
So far I am able to use _OnDataButton() to place a element. I have the UI box pop up with start of command and could modify the element before I place it with a click. I use _OnDynamicFrame to show effect…
OS: Windows 10
Application: MicroStation Connect Edition update 13 - v10.13.01.01
Language of the Application: C++
Goal: Set the snapping of created point cloud entities to off by default
Below is the point cloud options of imported point clouds…
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.
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…
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…
Hello Everyone
I just started a new job. We are using Microstation v8i and moving to Connect. Who offers a course on writing C/C++ apps and DLL's?
I have the book Microstation VBA and been reading all you guys have to offer but still missing the mark…
Hallo everyone,
I am trying to write an MDL that recenters certain views when a datapoint or tentative Point is placed in a specified distance from the last one.
For this task I want to use e.g. the mdlState_setFunction(STATE_DATAPOINT, centre2_processDataPoint…
Hey Guys,
i want to use an extern libary, in this case the libzippp libary, to work with zip-files. I'm working with Visual Studio 2017 and I linked every libs staticly in the .mke file:
LINKER_LIBRARIES = $(mdlLibs)bentley.lib \ $(mdlLibs)mdlbltin…
Hello everyone, I'm new as a MicroStation developer and I'm trying to code an AddIn in C++ that extract the Smart feature tree from a DGN file. The problem that I have at the moment is a compiler error using bmake.
This error it appears only if I'm…
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…
Hi,
I was trying to create a smart solid then chamfer an edge in my code, I used mdlKISolid_setConstantChamfers() function but it seems nothing happened. Could anyone give any suggestion or hint for that? like which API function should I use etc,…
Hello
I have strange behavior in Bentley Map SS2
I have changed gasMain example, to use different feature display name than name:
// Initialize "GasMain" root feature definition xfmFeatureDef_new (&featureDef); xfmFeatureDef_setName (featureDef…
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…
Hi, Brien Thanks for your reply. What I want to do is to get the solid body's faces from
the new sheet body.
I want to know the face associated with the sliced wire body because
there are some information on the face.
I just want to get some…
Hi
I am trying to clip the ellipse but the problem is in the boundary that i could not clip the ellipse to make it half either semi circle or other. please help me to sort out this problem.
regard
sagar..
hi,guys
Can any of you explain the difference between KIEDGE and KICOEDGE?
What I want to do is to get faceIDs after calling mdlKISolid_slice.
First, I call mdlKISolid_getEdgeList(bodyList, slice),
then, from each body I can get each face…
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 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…
Hi,
How to get segment length from segmens of line of string element i am able to see it in microstation application element properties section but need a way to get it programmatically.
Can any one please suggest me the APIs for that.
Thanks…
I have a dgn file with XAttributes. I want to extract the datas from it. On the picture under the roads there is an osm_id and a name. I need these datas.
I scan the dgn file and my callback function look like this:
int DataHandler::TestCallback…
I'm doing native code MDL development using C++ and VS2008 and Microstation V8i (08.11.05.17)
I'm a dotnet developer and now a the basics of MFC and Win32 programming.
I am trying to understand the difference between native window and MFC dialog…