Method GetEntityCount
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GetEntityCount(out bool)
Gets how many images of the drawing are associated with the definition, as AutoCAD 2021's GetEntityCount
counts them: those whose IMAGEDEF_REACTOR the definition lists, an image made in code and appended, or associated by
AssociateRasterDef(DxfRasterImageDef); a copy, which AutoCAD's Clone appended leaves with no reactor,
is not counted, as AutoCAD counts it not. Two images in a block placed by two INSERTs count once each.
public int GetEntityCount(out bool locked)
Parameters
lockedboolWhether one of them is on a locked layer.
Returns
- int
The count; nought for a definition in no file.