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

RE: [CONNECT C#] Yet another create cell question

$
0
0
Hi,

Thanks you for your (as always) quick and structured answer.

I realize that there are interop calls to create cells the same way as in VBA. My impression was, however, that you have to work entirely with interop functions for this. I.e. all parametes has to be Bentley.Interop.MicroStationDGN not Bentley.GeometryNET and the returned element is also Bentley.Interop.MicroStationDGN.CellElement not Bentley.GeometryNET.Elements Element.
My CreateCellElement() method is supposed to return an element of the same type as all my other CreateXXXElement() method since it's part of the following logic:

switch (InputGeometry.type)
case Line:
element = CreateLineElement(InputGeometry);
case Cell:
element = CreateCellElement(InputGeometry)
...


Regards,
Krister

Viewing all articles
Browse latest Browse all 7260

Trending Articles



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