AutoCAD 2009 SP3 Enu.
Hi all.
Fragment of my code:
...
//btr - it is BlockTableRecord.
//db - it is Database object.
using (Transaction t = db.TransactionManager.StartTransaction()) {
BlockTable bt = (BlockTable) t.GetObject(db.BlockTableId, OpenMode.ForRead);
foreach (ObjectId brId in btr.GetBlockReferenceIds(directOnly, false)) {
...
Problem code row:
btr.GetBlockReferenceIds(directOnly, false)
if btr is dynamic block, then it's row can't find block reference ids. Why?
Thank you.