• [C# MSCE 10.14] Log4Net usage inside MicroStation

    I know that Bentley has included log4net into their API, trying to figure out if can I log my own information in a separate log. Does anyone have any examples?
  • [C++ CONNECT] Looking for a native equivalent of the Bentley Logger

    I have installed: MicroStation CONNECT Edition 10.15.0.74 MicroStation CONNECT Edition SDK 10.15.00.076 Did Bentley ever deliver a native equivalent of the managed Bentley Logger? Perhaps something based on log4cxx (instead of log4net that the Bentley…
  • [CONNECT C#] add custom property type to item type array property.

    i have an item type that contains a property. this property has Is Array set to true and its type is a custom property type that i made. trying to figure out how to add a value to this array property. Not seeing it in the sdk. i see there is a XmlStringValue…
  • [CONNECT C#] Can't change width of ColorPickerPopup, LineWeightPickerPopup, or LineStylePickerPopup from Bentley.MstnPlatformNET.WinForms.Controls

    In my C# WinForm I need to add the following controls: ColorPickerPopup, LineWeightPickerPopup, and LineStylePickerPopup. These are defined in the namespace Bentley.MstnPlatformNET.WinForms.Controls See the following image. I was able to programatically…
  • [CONNECT C#] How to determine which properties changed when implementing IDgnECNetChangeListener

    I have installed: MicroStation CONNECT Edition 10.15.0.74 MicroStation CONNECT Edition SDK 10.15.00.076 I have implemented IDgnECNetChangeListener to listen to change events. I would like to capture a modification event for a given ECProperty on…
  • [CONNECT C++] How to loop over all the tags associated to a cell

    I have installed: MicroStation CONNECT Edition 10.15.0.74 MicroStation CONNECT Edition SDK 10.15.00.076 My application places cells that were defined in the cell library with tags. After placement my code needs to modify these tags. Unfortunately…
  • [CONNECT C++] Random crashes inside the function mdlCExpression_getValue()

    I have installed: MicroStation CONNECT Edition 10.15.0.74 MicroStation CONNECT Edition SDK 10.15.00.076 Our application consists of 3 complex command dlls, each of which creates, uses, and frees several SymbolSet s. We encounter consistent but random…
  • [CONNECT C++] CompletionBarInfo struct

    There is a family of MDL functions ( mdlDialog_completionBarOpen() etc) that start and update a Completion Bar (a.k.a. Progress Bar , Busy Bar ) Find the mdlDialog_completionBar family in MicroStationAPI help. There is additionally a CompletionBarInfo…
  • [CONNECT C++] Drop of a 2d parametric cell doesn't always retain element dimension associations

    I have installed: MicroStation CONNECT Edition 10.15.0.74 MicroStation CONNECT Edition SDK 10.15.00.076 In the following C++ function I am attempting to drop a 2d parametric cell placed in a 2d dgn file. This cell contains dimensions associated…
  • [CONNECT C++] How to Set Item Type Property to Read Only

    I noticed that DgnECInstance has a function IsPropertyReadOnly(), but I don't see a corresponding SetPropertyReadOnly(). Is there a way to set a property within an Item Type grouping to read-only? I have tried SetReadOnly thinking this would be applied…
  • [CONNECT C++] How to set visibility on tags within a placed cell

    I have installed: MicroStation CONNECT Edition 10.15.0.74 MicroStation CONNECT Edition SDK 10.15.00.076 I have a dgn file with several cells, each contain numerous tags whose display is off that I need to turn their display on. This can readily…
  • [CONNECT C++] Looking for native C++ API to update a parametric cell definition

    In the image below I have placed a red arrow pointing to the Update From Library button on the Cell Library dialog. I am looking for a native C++ API to do the same thing programatically I have installed: MicroStation CONNECT Edition 10.15.0.74…
  • [CONNECT C++] Should the MicroStation SDK Examples be moved to a public git repository?

    I have installed: MicroStation CONNECT Edition 10.15.0.74 MicroStation CONNECT Edition SDK 10.15.00.076 It might be helpful if the MicroStation SDK Examples were moved to a public git repository. That way both Bentley developers and 3rd party app…
  • [CONNECT C++] What was the format of int for MicroStation XM?

    From native C++ I am attempting to read user data linkage data created in dgn files made from MicroStation XM using an mdl application from .mc files. The struct for the data contains ints, doubles, and char arrays. What was the format of int back then…
  • [MStn CE U14 C#] How to change table exterior border weight

    I set the default line weight to the interior weight of the table, how do I set the exterior border weight for a table. I looked at the Edge Symbology, but can't figure out how to use it. Help would be greatly appreciated! Thank you, Donna
  • AccuDraw Dialog box

    How to close AccuDraw Dialog Box I can not find in headers its id if (dbP = mdlDialog_find (DIALOGID_?????, NULL)) mdlWindow_close (dbP, 0, FALSE); Greg
  • How to regain focus on AccuDraw after entering values in UserForm

    MicroStation Connect (or rather OpenCities Map), VBA I have a Primitive Command running in Dynamics, and a non-modal dialog. I would like to reset focus to MicroStation/AccuDraw after entering values in the UserForm. This was working perfectly in…
  • LinearGeometry.ProjectPointOnPerpendicular

    I am trying to use the ProjectPointOnPerpendicular method based on what I found in the managed code example delivered with OpenRoads SDK. This stuff... public static string GetStation(Alignment al, Bentley.GeometryNET.DPoint3d point) { LinearPoint…