MicroStation lets a user define a DGN model that acts as a TextTable seed. The APIs include a TextTable class, having a static Create method and a CloneAsSeed method. It's not obvious how we might create a TextTable from a seed model programmatically.
TextTable
Create
CloneAsSeed
Any suggestions?
Hi Jon Summers,
Sorry for the brief untested input/response but can you see if something like this is available and helps?
DgnPlatform\TextTableHandler.h:617:DGNPLATFORM_EXPORT static TextTablePtr Create(UInt32 rowCount, UInt32 columnCount, ElementId textStyleId, double backupTextHeight, DgnModelR model);
TextTable::Create (numRows, numCols, GetTextStyleId(), 1000.0, *GetDgnModelP());
Thank you and HTH,Bob
Are you suggesting that the DgnModel arg in Create (..., ..., ..., ..., ..., DgnModelR model) is a reference to a DGN model table seed in a DGN lib?
DgnModel
Create (..., ..., ..., ..., ..., DgnModelR model)
The help doc. says: Create a new table from scratch. All table properties will be initialized to safe default values. It doesn't mention table seed.
Regards, Jon Summers LA Solutions