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

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

$
0
0

I am trying to get the ElementRef and DgnModelRef from C# API of elements I have selected so I can pass through to some Native MDL code that needs to use them?

From searching through these community forums and browsing the C# functions/properties I have found Element.MdlElementRef() and Element.ModelReference.MdlModelRefp(). I believe these to be the equivalent of ElementRef and DgnModelRef respectively but they are not the same.

The functions return int's which when I get to the Native MDL I cannot find a way to use them to create the Ref types or use in place of the Ref types.

Is there a ideal way to get the appropriate Native MDL Ref types from what is available in the .Net API?


Viewing all articles
Browse latest Browse all 7260

Trending Articles



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