different Element classes

Hi,

with the function

Element.GetFromElementRef

I get a

Bentley.DgnPlatformNET.Elements.Element object

then I need to read the XData of the object. Till now i used

element.GetXData1(AppName);

but this functions need a

Bentley.Interop.MicroStationDGN.Element

So my question is, how to come from one the the other? And why there are two differnet Element classes without an esy way to convert.

E.g. a contructor that uses the other class

Greetings

 Markus

Parents Reply Children
No Data