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…
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…
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…
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…
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 &…
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…
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 &…
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…
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…