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?