[MSCE 17 C++] Setting the modified attribute of an element
Hello,I want to find all modified Elements for an export.First there is a process from me whitch imports elements from an xml file (Place cells and edit tags).After this process, some elements have the...
View Article[MSCE Update 17.2, C] Why a new level can not be set ReadOnly?...
Hi all,Does anyone have a clue why this very simple code which is trying to set a read-only attribute on a new level results in epic fail?(for the reference, this code works correctly in V8i) LevelId...
View Article[C++ Connect] GetRaster file exists check
I am trying to determine if the file name returned from GetFilespec() exists. Is there a method within here to quickly check whether the file actually exists?while (NULL != (modelRef =...
View Article[ABD v8i SS5] Could not load application
Hi,I was using Microsoft Access Driver (*.mdb).I converted *.mdb to *.accdb. I also changed driver to Microsoft Access Driver (*.mdb, *.accdb) but I got below exception;System fault:...
View Article[Connect Update 16 C# .NET & COM] Updating text within cell shifts location
I have the following basic code I am using to update text elements within a cell, using the OpenDesignFileForProgram interface, and it seems weird that once in a while the some of the text shifts, its...
View ArticleVB.NET and Microstation
Is there any documentation available about automating MicroStation with VB.NET? I'm looking for basic info and examples. Thanks in advance!
View Article[ORD 2022 R1] in VBA, can we create element properties in property handler?
In ORD 2022 R1, version 10.11.00.115, I've written a VBA script that scrapes a website for relevant information on specific parcels. The element is copied from GIS and it has useful information like...
View Article[CE Update17] I can't set variables for the dialog of "Capture Screen".
I'm trying to set the value for variables in the dialog of "Capture screen", but it doesn't work. I was able to do it in V8i. I get "screen.jpg" after the below code is excuted, but I hope to get...
View ArticleLegacy (v8i) MDL Development
I have been retired as a design professional and have used MicroStation for many years in my career even as far back as Version 5 when I learned to code MDL apps for a municipal engineering entity. So...
View Article[ORD 2022 R1 VBA] SendDataPointForLocate parameter Qualifier
The article for SendDataPointForLocate from the VBA help file gives me this:object.SendDataPointForLocateElementToLocate, DataPoint [, ViewSpecifier [, Qualifier]]Qualifier is optional, a Long...
View Article[CE U17 C#] Get SubEntity geometry
Hi all,I'm attempting to build a custom exporter that needs to extract the fundamental geometry of elements. In order to achieve this I wanted to keep things as simple as possible and not handle every...
View Article[C# Add-in] Creating a new UI add-in for MicroStation
Hello Experts. I'm a new one in the development of the add-ins for the MicroStation. Basically, I had an experience with other CAD systems. And I have a few questions. Hope you can help me.1) First of...
View Article[Mstn CE U17 C# Interop API / MDL/ C++] function for KeyIn "move parallel...
Hi,I need to create programmatically an element, the same way you can do as a user with the keyin "move parallel offset" with "Mode: Miter", "make copy" and "Distance" set.What would be the function to...
View Article[C# Add-in] Creating a new UI add-in for MicroStation
Hello Experts. I'm a new one in the development of the add-ins for the MicroStation. Basically, I had an experience with other CAD systems. And I have a few questions. Hope you can help me.1) First of...
View ArticleTest
TestModerator - Please delete this post. I needed to test whether I could post a new questions. I was having issues previously
View Articlevba replacement for docls.ma
For anyone who liked using the old docls.ma application in Microstation v8i, I obtained an old vba file from another forum member which functioned very similar to the mdl application. I believe...
View Article[CONNECT VBA] ProjectPointOnPerpendicular Error
We are using code borrowed from a Bentley Delivered MVBA as part of Open Roads. The original code was part of the Power InRoads Ss4 release, and we have successfully migrated it to the CONNECT...
View Article[Connect v16] – Is there a VBA that will check Reference Files for standard...
Is there a VBA that can be loaded to the Standards Checker tool whereby it checks Reference files for standard compliance? Currently Bentley’s Standards Checker tool has the ability to check the...
View Article[CE U17 C#] Import Points Cloud
Hello guys. Is it possible to import the points cloud file (for example LAZ) into a new empty 3D DGN file?As I saw there are a few similar questions that were created a few years ago. And in all...
View ArticleHow to rename a DimensionStyle from external DgnFile? (in closed mode,...
using (DgnDocument targetDgnDocument = DgnDocument.CreateForLocalFile("fileName")) { DgnFile pDgn = DgnFile.Create(targetDgnDocument, DgnFileOpenMode.ReadWrite).DgnFile; StatusInt...
View Article