0 Members and 1 Guest are viewing this topic.
Table tb=new Table();......tb.SetBlockTableRecordId(i, 3, bt["Door"], true);If "Door" block is normal,the table cell will get the block image.If "Door" block is dynamic, AutoCAD will throw an exception.
// Insert the block as the contents of our cell Cell cell = tb.Cells[row, col]; cell.Contents.InsertAt(0); cell.Contents[0].BlockTableRecordId = blockId;
I'm using AutoCAD 2008.It seems that your code is not for this version.