The MicroStationAPI and the DgnPlatformNet have a CreateSharedCellElement() method (as of Update 10).
Why isn't there a C++ .NET similar method for normal cells? Consider these existing methods:
Jon Summers said:The MicroStationAPI and the DgnPlatformNet have a CreateSharedCellElement() method (as of Update 10).
In documentation I see "only" CreateSharedCellElement<x>() methods, not one CreateSharedCellElement(). Are they methods you wrote about or I missed something?
These methods come from Interop, so I treat them as obsolete and maintained for backward compatibility (and for access from external applications ;-).
Labyrinth Technology | dev.notes() | cad.point
Jon Summers said:Create Normal Cell
To create a new cell (not from cell library), I think CellHeaderElement class can be used.
Jan Šlegr said:To create a new cell (not from cell library), I think CellHeaderElement class can be used
I asked the question because, not for the first time, someone has asked how to create a new normal cell instance using .NET. That is, how do we place a cell instance by copying the cell from a cell library? Currently, the poster is attempting to reinvent the wheel for lack of a straightforward create-instance-of-normal-cell-from-library method.
Regards, Jon Summers LA Solutions
Jon Summers said:the poster is attempting to reinvent the wheel for lack of a straightforward create-instance-of-normal-cell method.
I am feeling I do not quite understand this sentence probably, because what is the straighforward create cell method? Can you explain it better what does it mean e.g. for you?
To prepare the cell content as IList<> collection and to create the cell instance using CellHeaderElement constructor seems "straightforward enough" for me.
Jan Šlegr said:what is the straighforward create cell method?