下面关于AcDbBlockBegin Class的话来自SDK:
The AcDbBlockBegin class represents the block header portion of a block definition within AutoCAD (that is, group codes 2, 3, 10, 20, 30, and 70). Objects of this class are created and handled automatically by AutoCAD for each AcDbBlockTableRecord.
Applications do not need to create objects of this class nor can they add or remove them from databases. Applications are free to add or manipulate xdata on objects of this class as well as work with extension dictionaries for objects of this class.
Warning Do not derive from this class. Attempting to do so will cause your application to halt AutoCAD.
就是说: 第一,AcDbBlockBegin对象存在于AcDbBlockTableRecord中,不存在于*MODAL_SPACE*中,起码不是你的自定义块中的。
第二,它是由AcDbBlockTable维护的,不可能被选择到,
第三,不要指望操控或者继承此类,以及其xData
第四,你的程序在我的机器上运行得很好,只要没有崩溃,我想,它在你的机器上运行得也是很好,只是那两个图元你没观察到罢了 |