摘要:
获取图纸空间中所有块参照和其对应的块定义对象using (Transaction trans = db.TransactionManager.StartTransaction()){ //获取块表 BlockTable bt = (BlockTable)trans.GetObject(db.BlockTableId, OpenMode.ForRead); //取得图纸空间块表记录 BlockTableRecord btr = (BlockTableRecord)trans.GetObject(bt[BlockTableRecord.PaperSpace], OpenMo... 阅读全文