• MIcrostation V8i SS3 get Tag value c#

    Hi, I'm trying to get the tag value using c#. opened the design file using OpenDesignFileForProgram. BCOM.TagElement tele1 = _Ele.AsTagElement(); //Working fine Console.WriteLine(tele1.TagSetName); //working fine Console.WriteLine( tele1.TagDefinitionName…
  • [V8i C#] PInvoke MDL functions error

    I'm attempting to invoke various MDL functions in a C#.NET project. I've successfully managed to do the following: [DllImport(@"C:\Program Files (x86)\Bentley\MicroStation V8i (SELECTseries)\MicroStation\stdmdlbltin.dll")] private static extern void…
  • mdlKISolid_bodyMassProperties kills stack in C#

    Hi, we are using mdlKISolid_bodyMassProperties both in our C++ and C# projects to obtain the centroid of a solid. In C++ everything works fine. In C# all local variables preceding the inertiaOut parameter are overwritten with garbage values after…