VCSetCurrentErased


Version:

1.2

Description:

Sets the erased flag for the current entity to true.

Declaration:

 

C/C++

extern "C" void WINAPI VCSetCurrentErased(short* iError);

Delphi

procedure VCSetCurrentErased(var iError: Smallint); stdcall;

ActiveX/COM

Sub SetCurrentErased()

Parameters:

No additional parameters are used with this subroutine.

Notes:

When modifying entities in the Visual CADD™ database the program must create a new entity and erase the old one. This effectively appears to be a change and still allows undo and redo to work. VCSetCurrentErased is used to remove the previous entity.

See Also:

VCSetCurrentSelected, VCSetCurrentDeselected, VCSetCurrentEntity, VCGetCurrentEntityHandle, VCSetCurrentUnErased