VCPurgeErasedEntities


Version:

1.2

Description:

Removes all erased entities from the drawing.

Declaration:

 

C/C++

extern "C" void WINAPI VCPurgeErasedEntities(WORLDHANDLE hW);

Delphi

procedure VCPurgeErasedEntities(hW: Longint); stdcall;

ActiveX/COM

Sub PurgeErasedEntities(ByVal hW As Long)

Parameters:

hW - the Visual CADD™ worldhandle used internally to reference each open drawing world.

Notes:

Any draw or modify command changes the Visual CADD™ drawing database. Visual CADD™ keeps track of these changes by "marking" the items that have been changed but does not remove them from the database. This allows the Undo and Redo operations to restore the drawing. Maintaining the copies of the entities however takes up memory in the database. VCPurgeErasedEntities should be used to "clean" out these copies and free up memory resources.

See Also:

VCPackData