XDSoft 发表于 2021-2-4 15:30:00

查找已经删除的实体

Finding Erased Entities

问题:

How to force an AcDbBlockTableRecordIterator not to skip erased entities?

解答:

To avoid skipping the erased entities, you must specify false for last parameter
in the newIterator() method of AcDbBlockTableRecord class (which is incidentally
optional and is set to true i.e. skip the erased entities).

The sample code below will list all the entities that were erased in the ModelSpace.
The comments are included where you need to specify the correct argument to
iterate though the erased entities.


**** Hidden Message *****

xk15c 发表于 2021-2-7 04:13:21

额,路过看看

hbwr123 发表于 2022-9-23 09:29:07

学习下                                                                  
页: [1]
查看完整版本: 查找已经删除的实体