Browse By Tags

  • [CONNECT Ed. 10.15.00.74 C# Addin] VS2019 Commands key-in not loading when following the basic example in the wiki

    I'm following the steps to create a new MDL addin using C# and I'm having an issue with getting the commands.xml to be recognized. VS 2019 (recommendation says for the below version to load VS2017 or higher for .NET programming) Microstation CE 10.15…
  • [Connect Up15 c++] Is it possible to click once to place element, pop up UI box, and second click to confirm modification?

    Hello all, I am practicing DgnElementSetTool So far I am able to use _OnDataButton() to place a element. I have the UI box pop up with start of command and could modify the element before I place it with a click. I use _OnDynamicFrame to show effect…
  • [CONNECT C#] Managed Equivalents for older COM Interop Calls

    Hallo, I am converting existing add-ins that were written in C# using the COM Interop on V8i SS4 to the new CONNECT NET API and I would like to get rid of any remaining calls to the COM Interface where possible. To achieve that goal, I need to find…
  • Re: KIEDGE VS KICOEDGE

    Hi, Brien Thanks for your reply. What I want to do is to get the solid body's faces from the new sheet body. I want to know the face associated with the sliced wire body because there are some information on the face. I just want to get some…
  • OrientedBox Linker Error

    I am trying to create an OrientedBox, but always get this error message. error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall Bentley::Ustn::PointCloud::OrientedBox::OrientedBox(struct _dPoint3d &…
  • mdlKISolid_getSurfaceElements() crashes for a particular element, throwing a stack overflow exception

    Hi, I'm currently working with mdlKISolid_getSurfaceElements() in order to split a Smart Solid. But it is throwing a stack overflow exception and finally crashes.I guess this is because of many BSpline curves present in that solid. Can someone help…
  • How to convert solid clockwise sense bspline surface boundaries to hole clockwise sense?

    Hi All, I have a Bspline Surface with a set of boundaries whose clockwise sense is set to "Solid". Is it possible through MDL API to get the equivalent set of boundaries on the same Bspline Surface whose clockwise sense is "Hole"? Thanks &…
  • mdlScan_xxx using C++ API?

    I'm needing to search for certain element types in the active drawing. I see the sample code for cell libraries that uses the mdlScan_xxx routines. But I can't find an equivalent in the C++ API. Is there something newer / better / shinier than mdlScan_xxx…
  • Auto Save with no changes?

    I'm hooking the SYSTEM_FILE_SAVE event (using mdlSystem_setFunction). I'm seeing something unexpected - frequently, when the user opens a DGN file, I'll see my callback fire immediately after opening completes. I would think there would be no changes…