[CONNECT C++] Adding an AssociativePoint
In my DgnElementSetTool, I'm placing a cell at the projection of the cursor to the picked element. The cell gets placed, but the association is not correct - the cell has a dashed outline. What am I...
View ArticleCreating Terrain from Level / Height Points
<AECOSIM Building Designer> <Update 4> <English>Hi All,I have site levels (heights) for a project, and I am wanting to model the terrain. The project is a small deck off the back of...
View Article[CE U10 MVBA] Revise text.origin problem
Hello All,The following codes will create a text element at 100,150,0, and then move it to 200,350,0. It works fine in V8i.Sub TextTest() Dim MyText As TextElement Set MyText =...
View ArticleMicroStation [CE/C#] ElementPropertiesGetter: Weight Result for a Textelement...
Hello,my code is the following:uint? WT = new uint(); Bentley.DgnPlatformNET.ElementPropertiesGetter propGet = new Bentley.DgnPlatformNET.ElementPropertiesGetter(Element); WT = propGet.Weight;and the...
View ArticleVBA Macro Code for Creating a Custom View Angle using the X Y Z Coordinates...
I created a VBA Macro Code in Excel to automate 3D drawing of a Box Girder Bridge. At some instances, readily available commands like "Isometric View , Right Isometric View" , etc are not sufficient to...
View ArticleVBA Macro Code for "Acceptance" of a Microstation Command
I typically use Macro Recording to figure out the syntax of Microstation Commands to be used in VBA Excel Macro Code.Some Microstation Commands when one works in the program requires some extra clicks...
View Article[CE U10 MVBA] Cannot revise ActiveSettings.DimensionStyle
Hello All,It is OK to revise ActiveSettings.DimensionStyle in V8i, but failed in CE U10, "MicroStation has stopped working."Please help me to run ActiveSettings.DimensionStyle.DistanceScale = 4 in CE...
View Article[CONNECT C++] ListModel Manager for ComboBox and ListBox Hook Classes
The MicroStationAPI DialogItemHookHandler class lets us write simpler hook handlers for MicroStation dialog items. They let you avoid the giant MDL switch statement in your procedural hook handler...
View Article[CONNECT C++] ICurvePrimitive and projecting points to a "curve"
If I have an element (e.g. line or linesting) and a point (DPoint3d), I can use ClosestPointBounded(DPoint3dR, CurveLocationDetailR, bool,bool) to obtain a CurveDetail, then use FractionToPoint() to...
View Article[CE U10 MVBA] Problem to SelectElement
Hello All,The following codes will create a text element, and then select it. It works fine in V8i, but cannot select it in CE U10, it shows "Unknown error". Please help to test. Thanks a lot.Sub...
View ArticleConnect - VBA - GetOpenFileName
Hello all,I used to work on microstation V8 and V8i which was on 32bits, and I have to migrate to microstation connect (64bits).My problem is that the API "GetOpenFileName" doen't work anymore...With...
View Articlevba mbepoint and point3d
hello everyone! Could anybody explain differences beteween type point3d and mbepoint? there is not anything about mbepoint in help
View ArticleClass ReferenceAttachment can not be found in Connect Edition.
In V8i we can use class Bentley.Internal.MicroStation.ReferenceAttachment (in ustation.dll) to ask attributes of attachment like NestMode and IgnoreWhenLiveNesting. But in Connect Edition this Class...
View Article[v8i VBA] Most efficient way to treat tags as text without permanent...
When using a Microstation tool on AutoCAD files, there are two issues we ran into: Half of the text in the cellElements has become tags in sharedcellElements. (Why is a sharedcell not a cell...
View Article[CE U11 MVBA] Revise textstyle problem
Hello All,I found the text justification cannot be revised in CE sometimes.In the sample codes, I revised the justification several times, but sometimes the justification will be changed back after...
View ArticleIn Microstation connect IViewUpdateEvents issue
In MicroStation CONNECT Edition, I have using IViewUpdateEvents events . It's rapidly calling again and again.After some time MicroStation CONNECT shows stopped working.I am using same code in...
View ArticleDimension behavior - Linear Single
I want to dimension several widths and have it be a single dimension. I want to start from zero each time I click a data point. The picture on the left is what I do not want. The one on the right is...
View Article[CE update 11 API] Problem with FPoint3d in Windows 10
Hi,File fpoint3d.h is missing in SDKI made fpoint3d file and placed it in Bentley\MicroStationCONNECTSDK\include\Geom folder.communities.bentley.com/.../fpoint3d.zipThis solution work fine in windows7...
View Article[CONNECT Update 10 MDL] - Need help migrating MDL to connect edition, its not...
Hello Everyone,Our organisation have just upgraded our MicroStation v8i SS3 to MicroStation Connect edition version 10.10.00.23.I am having trouble with my v8i MDL apps since its not working in my...
View Article[CONNECT Update 10 MDL] Help with writing a macro or a mdl app or vba please.
Hello everyone,This is my first ever post here so please be kind to me.I work in an organization where we have just upgraded our Microstation v8i SS3 to Microstation Connect edition Version...
View Article