Version: |
1.2 |
Description: |
Determines if the current entity has been erased. |
Declaration: |
|
C/C++ |
extern "C" vbool WINAPI VCIsCurrentErased(short* iError); |
Delphi |
function VCIsCurrentErased(var iError: Smallint):Wordbool; stdcall; |
ActiveX/COM |
Function IsCurrentErased() As Integer |
Parameters: |
return - whether the current
entity is erased. |
Notes: |
When stepping through the database, all entities will become current at some point even those which have been erased. To eliminate problems that may occur in database consistency when erased entities are brought back through an applications negligence, each entity should be checked to determine whether it has been previously erased. Unless the applications purpose is to bring back erased entities, erased entities should be skipped when parsing the database and making edits to the drawing. |
See Also: |
VCSetCurrentErased, VCNextEntity, VCFirstEntity, VCSetCurrentEntity |