I have been passing elements to MDL using
C# (Connect):
byte[] eleHandle = ele.ElementHandle;
C++ (Connect):
extern "C" DLLEXPORT void Example(ElementHandle ele)
C# (V8i):
int eleDscr = ele.MdlElementDescrP(true);
C++ (V8i):
extern "C" DLLEXPORT void Example(MSElementDescrCP edP){
You could grab the ElementRef from the ElementHandle/MSElementDescr
C# (Connect):
byte[] eleHandle = ele.ElementHandle;
C++ (Connect):
extern "C" DLLEXPORT void Example(ElementHandle ele)
C# (V8i):
int eleDscr = ele.MdlElementDescrP(true);
C++ (V8i):
extern "C" DLLEXPORT void Example(MSElementDescrCP edP){
You could grab the ElementRef from the ElementHandle/MSElementDescr