Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: [Microstation v8i, C#/C++] How to get the ElementRef and DgnModelRef from a C# API element?

$
0
0
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

Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>