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
Jon,

Apologies for the delay I was not in the office on Friday, elliptical doesn't quite cover it, it is more akin a spiral or a helix.

If it was as simple as choosing one API over the other I am not sure I'd be here asking questions, in short not one of the API's gives me everything I need.

I have to use native MDL to get at the geometry I need through the use of ElementGraphicsProcessor and it is ProStructures element attribute data I am interested in retrieving which is only available through the ProStructures .Net API. I am not fussed which starting point I use whether it be an MDL command or .Net addin as long as I get the information I am after.

The preference for C# is that our application is our own application is written in .Net making the interaction with that much easier and it doesn't make sense to me anyway to write a massive interop layer going from MDL to all the .Net when I have only one little thing I want from MDL.

I realise I am no expert in the Bentley API's and what I know has come from my exposure to the help files or these forums.

I am open to any suggestions.

Nick

Viewing all articles
Browse latest Browse all 7260

Trending Articles



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