Hi,
I am currently working on creating an addin in C#. As a basis I want to use the logic of an old MDL source code from a colleague.
This MDL is only executable in Microstation V8i. However, we now need a successor in C# for MicroStation 2023.
I have already been able to successfully transfer some things here.
But now I'm at a point where pure MDL methods are used.
Private void blockUpdateCurrentTransformation(int view) { /* Install matrix */ mdlCurrTrans_identity(); /* update current transformation with view rotation */ mdlCurrTrans_rotateByView(view); /* Set the origin of the new coordinate system to the 1st point of the block */ mdlCurrTrans_translateOriginWorld(&point1); /* rotate current transformation by active angle */ mdlCurrTrans_rotateByAngles (fc_zero, fc_zero, rotationangle); }
How could I now do the whole thing in C#?
Is this even possible in C#? I haven't found anything yet.
Regards
Frank