[MicroStation V8i SS3 VBA] How to get the distance from the start of the line...
How to get the distance from the start of the line to a point on the line (a point is not a vertex) Dim startPoint As Point3d Dim point As Point3d, point2 As Point3d Dim lngTemp As Long Dim LiniaToru...
View Article[CONNECT C++] Random crashes inside the function mdlCExpression_getValue()
I have installed:MicroStation CONNECT Edition10.15.0.74MicroStation CONNECT Edition SDK10.15.00.076Our application consists of 3 complex command dlls, each of which creates, uses, and frees several...
View ArticleCONNECT C# How to update a text string in a Cell?
I am trying to updated a Text Node containing a single Text Element inside a cell in a DGN file. Everything seems to work ok until I attempt to replace the existing cell with the modified version...
View Article[CONNECT 10.14 C#] Point3dInPolygonXY throws exception from addin
I'm working on a C# addin and was attempting to determine if a point is within a polygon.I've found a few references to this problem in the forum but have seen no real solution (that I could find)Below...
View Article[MStn CE U15.2 C#] Bug? To modify a cell content does not work...
Hi,based on a recent question I thought what is a simple working code structure to iterate and modify a cell content.This topic was discussed several times, but usually for C++ API. And when for NET,...
View Article[CONNECT 10.14 VBA] Trying implement old Macro written for 5.7...
We are using CONNECT now, and a user has requested some functionality that existed with the 5.7 edition of MicroStation. The macro was created in 1999 by someone who has since retired. I...
View ArticleAssistance with Creating Custom DLL Function to Call from MVBA
Hello,I am attempting to upgrade an older V8i .MA macro so that it can be used with MicroStation CONNECT. Before diving into the specific details, here is a summary of my software and computer...
View ArticleVBA will not read TXT file in another computer
I have adapted old microstation macro. All input is read from txt file with same name as dgn + 3d at the end of name of file. (hope this makes sense).The problem is macro works perfectly on my computer...
View Article[Connect Update 15 C++] Getting texture from MaterialMapLayer when material...
Hello,I was looking into a model QuaryURL.dgn that located (C:\Program Data\Bentley\ that seems to only appear in Microstation when connected to internet. It looks like "3MX" file. The geometries are...
View Article[CONNECT 10.14] Has anyone created a custom search (explore) tool with a...
I have a drawing with streets, street names, buildings, and pipes. I have a user who'd like to quickly query a street name and have the ability to zoom to any text node with a text string associated...
View Article[MicroStation 10.14 C#] Is there a way to change the Display Label of an...
In a C# MicroStation addin I'm creating itemtypes programmatically and applying them to elements. My itemtype is "BoreHole", when I view the results in Explorer I see BoreHole with a list of all the...
View ArticleChanging TextStyle by keyin not working properly
Hello Community, I came across very interesting issue regarding TextStylesI am using Microstation V8i SS4/SS10 version. I am trying to change text style by keyin programaticalcy and create text element...
View ArticleHow to config .mke file to build an execuable application instead of a DLL?
I want to create a console exe to attach reference to .dgn file, which is used by ProjectWise add-in.The tutorials are all about how to create .dll and .ma using bmake.exe.So how can I create a console...
View ArticleIs there any event to show the custom dialog while clicking a button in...
We have customized the ribbon by adding a new button into the ribbon tab. Now we want to connect our custom dialog created using MFC to it. Is there any API for getting the event while clicking that...
View ArticleMS CE, Update 15: ChangeTrackAction enum, Porting from V8i
In V8i we are using the following Change_Track_Action enums (amongst others):CHANGE_TRACK_NewFPosModify: the element was changed and moved to a new file positionCHANGE_TRACK_Drop: a complex element was...
View Article[CONNECT C++] Wait for locate element command
I have have an application that creates its own dialog box, which is launched from my MDL application. I require functionality that the user locates an element in the DGN file and the control returns...
View ArticleChange Tracking Functions: What is Number of RTYPE_CMDNAME resource
MS CE, Update 15, Language: C++This question concerns using of change tracking functions. Callback function is set as follows:ChangeTrack::AddChangedFunction (myChangeTrackFunc)Signature of...
View ArticleWays to deploy my DLL to Microstation MA file
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...
View Article[CONNECT C++] Drop of a 2d parametric cell doesn't always retain element...
I have installed:MicroStation CONNECT Edition10.15.0.74MicroStation CONNECT Edition SDK10.15.00.076In the following C++ function I am attempting to drop a 2d parametric cell placed in a 2d dgn file....
View Article