The MicroStationAPI and the DgnPlatformNet have a CreateSharedCellElement() method (as of Update 10). It creates an instance, or placement, of a shared cell element in a DGN model.
CreateSharedCellElement()
Why isn't there a C++ .NET similar method for creating instances of normal cells? Consider these existing methods:
CreateCellElement2
mdlCell_getElmDscr
Jon Summers said:Why isn't there a C++ .NET similar method for creating instances of normal cells?
Following a suggestion by Yongan.Fu, I wrote a C# place cell tool that uses COM methods. The secret sauce is to have a C# class inherit from a VBA/COM interface, which makes the methods of that interface available in C#. The same secret sauce works for both normal and shared cells.
All is made clear in this article DgnPlatformNet: Place Cell. The article has a link where you can download the C# source code.
Regards, Jon Summers LA Solutions
Answer Verified By: Jon Summers