Command
QisLib_DeleteVector

QisLib_DeleteVector


Function:
	int QisLib_DeleteVector(const char* StructName, CVectHandle VectorHandle);

Inputs:
	StructName: Name of the cell that contains the data to be deleted
	VectorHandle: Handle to the data to be deleted

Return:
	success: 0
	failure: value < 0 indicating one of the following errors.

Errors:
	-1: QisLib has not been initialized .
	-2: The specified cell name is invalid (null).
	-3: The input file is not loaded in memory, cannot delete vector.
	-4: Deleting vector while saving is not permitted.
	-5: Internal memory error occurred while deleting vector.
	-6: The specified cell does not exist.
	-7: File open in progress, operation not permitted.

Description:
	- This function deletes a data (boundary, path or round polygon) represented by the
	specified handle.
	- The GDSII/OASIS file for which this operation is to be performed must be opened for
	editing either by opening it with QisLib_SetLoadMemory on or by creating a new file
	using QisLib_NewGDSII/QisLib_NewOASIS.
	- A deleted data can be undeleted by calling QisLib_UndeleteVector for the same cell.
	- The specified cell can be any cell in the database and need not be the currently
	opened cell.
	- QisLib_SetVectorHandle has to be turned on in order to get handles to data when
	vector data are returned to the user's program via the callback function.
	- QisLib_SetAddVectorHandle has to be turned on to get handles to data when they are
	added to the GDSII/OASIS file.

References:
QisLib_UnDeleteVector
QisLib_SetLoadMemory
QisLib_SetAddVectorHandle
QisLib_SetVectorHandle