Export MBVA into text files
I am attempting to export my MVBA projects as text files. I was able to get the .bas, .cls, and .frm files to export, but I am struggling with how to make the .frx file text, and how to export the...
View Article[CONNECT C++/MDL] usage of PushButtonX and wiconpackager
Hello !I'm trying to create a custom pushbuttonx with a custom icon in my app but I just don't understand how to make the wiconpackager work to transform my .ico in .rsc...I found, with a lot of work,...
View Article[Connect C#] Bug with YPRAngles.FromNormalizedMatrix(DMatrix3d)
There seems to be an issue with YPRAngles.FromNormalizedMatrix when the DMatrix3d is rotated exactly 180 degrees around Z. DMatrix3d test1 = DMatrix3d.Rotation(2, Angle.FromDegrees(179.0));...
View Article[Mstn CE U16 C#] Attaching ECW raster georeferenced
Hello,I am trying to attach an ECW raster file (example attached) which is in a different coordinat system than my active model, and would therefore like to attach it georeferenced. I have tried in 3...
View Article[CONNECT Update 16 C++] LevelHandle.GetName() vs LevelHandle.GetDisplayName()
Other than the way that LevelHandle.GetName() and LevelHandle.GetDisplayName() obtain a level name, what's the difference? Does a level have both a name and a display name? If there's only one name,...
View Article[MicroStation CONNECT update 16 C#] Export or save as an CIT raster to JPEG...
Looking for some help in being able to open and either saveas or export a cit file into a jpeg. Please see the below examples of what I have tried:[Bentley.MstnPlatformNET.AddIn(ApplicationType =...
View ArticleMicrostation Connect Edition 10.15.02.11 - VBA - change Reference file Slot...
i'm trying to change the reference file slot number of an attached dgn file.in V8i version i used below command / syntax - and - it's worked fine. Call SetCExpressionValue(CExpression:=strRfName &...
View Article[CONNECT C++ MDL] PushButtonX Icon fit in parent
Hello again,Now that I'm able to generate my own icons for my app, i would like to know if it was possible to make it fit inside its parent (the pushbuttonx) ?Because, I created an icon with a default...
View Article[C# MDL] Create non-static commands, enabling inheritance from a base class
Hi All,Looking for some advice here on creating MDL commands that allow inheritance from a base class... Reason being I plan to build out a heap of classes that inherit / override methods from a "base"...
View Article[Connect Update 16 .NET] How do we update UI if Async or Background worker is...
I was reading a thread from a few years ago that talked about an issue I am having now, I have a WPF application that has a long running process iterating files, I would prefer to run this process as a...
View Article[C# MSEC 10.16] Programmatically Run MicroStation report
Is there a way to either programmatically or via keyin to run pre-built MicroStation reports?
View Article[Microstation Connect C#] Uniquely identify Element Types
Hello people,so in C# we need to get some info out of a Microstation Element. It might be any displayable element, ie: a SmartSolid, a Solid, a LineElement, a ParametricAttributesElement etc.; anything...
View Article[MSCE U8 c++] ScanCriteria in U8 produce different result than U13?
U13 is able to scan the set range's all overlapping elements while U8 stop at finding the first element.
View Article[CONNECT C++ / MDL] use of .rsc icons in other objects than PushButtonX
Hello, it's me again !I still have a lot of questions about the .rsc icons system. For now, i can use my custom icons, present in a .rsc file to put them in a PushButtonX. But can I use this icon type...
View ArticleScrollBar while changing
I need to perform an operation while user drags a scrollbar item ;I only get a DITEM_MESSAGE_STATECHANGED when mouse button is released, how can I intercept every time the scrollbar slides and get...
View Article[CONNECT C++] GUI Layout Classes
The MicroStationAPI help doc mentions a number of GUI layout classes including the LayoutControl base class...There are no examples of those classes and MicroStationAPI help provides no information...
View ArticleError building examples SDK
Hi, I've installed the Microstation CE SDK and the buildallexample.bat is not running properly. Here's an example of the output I get when running the...
View Article[VBA] Any Event Handlers for activating another View?
Hi all,I have been looking at some Microstation Event Handlers and can find some for activating different models and updating views, but none for actually switching from one View to another (ie....
View ArticlemdlStringList_sortByColumn callback formatting
I'm trying to use the mdlStringList_sortByColumn function in Microstation CE, but I can't find the format of the userStringList_sort function in the documentation.Does anyone know the user function...
View Article[C# MSCE 1016] Detect if command/dll already loaded
Is there a way to see if either a custom.dll is loaded or if a command that is loaded from a dll is already available? My situation is I have 2 custom addins, addin #1 needs to be able to tell if addin...
View Article