V8i MDL application debugging help
Hi, I am trying to debug MDL application for the first time and I am using VS 2005 for that. Microstation is first manually opened and then the VS 2005 to set breakpoints. There's a info icon on...
View Article[CE U14 C++] issue with mdlNamedGroup_getMemberCount
Hello everybody ,I have this code :WString AdCellAltiPlaceTool::_GetNewNamedGroup(DgnModelRefP pModelRefP) { static int numGroupSave = 0; MSElementDescrP ElmDscrNameGroupP = NULL; NamedGroupP...
View Article[CONNECT] Distinguish between multiple Tables in a DGN model
Named TablesI recently came across a situation where a MicroStation CONNECT user had placed several Tables in a DGN model.It occurs to me that there's no simple way to distinguish between tables. For...
View Article[CONNECT .NET] How does MicroStation find assemblies?
My .NET AddIn uses a third-party assembly Newtonsoft.Json. If you need to read or write JSON files, it's a very useful addition to your toolkit.If I build my app as usual, then load and run it in...
View Article[Microstation V8i] (08.11.07.443) error when calculating an area of a shape...
I am calculating the area of a grouped hole with the help of this command ComputeGroupedHoleArea (at the bottom of the page).It works very well but now I came across an grouped hole with an element in...
View ArticleHow do I select multiple files from ProjectWise?
I am trying to get a list of files to process on from the user but I have not been able to figure out how to do this. I can get one file fine via the mdlDialog_fileOpen inside the stdmdlbltin.dll, but...
View ArticleDetecting a Cached Saved View Attachment in MicroStation CONNECT
Hi All,I have some legacy VBA code from v8i that I'm trying to port over to the CONNECT versions - it's using a CExpression with a pointer into the referenceFile struct for a specific reference:Private...
View ArticleDetail Callout Boundary Coordinates
Take a look at the following screenshot:This is a drawing model which contains a detail callout of the design model. I'm trying to get the callout rectangle coordinates programatically. The callout is...
View Article[CONNECT C++] struct RefDisplayFlags
struct RefDisplayFlags is defined in DgnPlatform\DgnAttachment.h. In V8, we could get a RefInfo pointer from the API to view or twiddle bits in RefDisplayFlags.In CONNECT, nothing seems to use that...
View Article[C++ CE ] mdl_resource_compiler is not defined
Hi All,I'm using CONNECT EDITION SDK 10.14.00.111.It seems to me, that rcomp.exe does not define the "mdl_resource_compiler" macro.In a struct that is used by one of my .r files I use the DPoint3d...
View ArticleUpdate raster image display issue
I have an application I'm building using the example code from Bentley that allows you to draw linestrings. I am using the ExampleCreateLineStringTool::_OnDataButton (DgnButtonEventCR ev) method and...
View Article[CONNECT 10.08 C# COM] OpenDesignFileForProgram elements not showing correct...
I have a program that was originally a .NET COM addin that was written for V8i. I've updated the addin to run inside CONNECT 10.08 also as a COM app. This is a QC application that runs thru all the dgn...
View ArticleHaving a problem with Accusnap, pop-up information should show up since its...
Pop-up info baloon not showing at all, even when its set to ON and automaticwondering if there is a way to fix this issue, since lcicking on element information while working makes simple tasks take...
View Article[C++ CE] How to migrate CMDSTR macro
Hi All,In V8i there was the CMDSTR macro defined to associate a command message with your command in the command table resource.You can find a usage example below:CommandTable CT_KIJELOLES = { { 1,...
View Article[CONNECT .NET] SelectionSetManager Events
The MicroStationAPI provides event handlers for the SelectionSetManager class...void AddListener (ISelectionEvents *selectionListener); void DropListener (ISelectionEvents *selectionListener);The .NET...
View Article[CONNECT bmake] Resource Compiler Cannot write to output file
My C++ project that built successfully yesterday fails to build today. Something's happened to affect rlib.exe. There was an automatic Windows update between good results and bad results.I opened...
View Article[CONNECT C++] Copy context resizes the elements x10
Hello,I'm trying to use the ElementCopyContext class in order to copy each element from an attached DWG file. Later I'd like to import only some of the elements.The problem is the final result, it is...
View ArticleMicrostation CE: Get actual side of Text element
We're working on a huge porting from 100+ MA applications from V8i to Connect Edition.One of the problems we're encountering regards the old mdlText_extract API.In order to determine the size of an...
View Article[CONNECT] set callback function when KEYIN queue element processed
I develop plugins for the OpenCities Map PowerView CONNECT Edition application with C++.From one of my plugin I use the mdlInput_sendKeyin() function to trigger a feature in another plugin developed by...
View Article[CONNECT .NET] Problem starting .NET AddIn on earlier version of MicroStation
I developed an AddIn using the .NET API delivered with MicroStation CONNECT Update 14.2. The AddIn works fine on my computer.When customer attempts to load the AddIn using MicroStation CONNECT Update...
View Article