Command
QisLib_DeleteAllVectors Function: int QisLib_DeleteAllVectors(const char* StructName); Inputs: StructName: Name of the cell for which data are to be deleted. Return: success: 0 failure: one of the following values : 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 the vector. -6: The specified cell does not exist. -7: File open in progress, operation not permitted. Description: - This function deletes all boundaries, paths, texts and round polygons in the specified cell. - 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 creating a new file using QisLib_NewGDSII/QisLib_NewOASIS. - Deleted data can be undeleted by calling QisLib_UndeleteAllVectors 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_UndeleteAllVectors QisLib_SetAddVectorHandle QisLib_SetVectorHandle QisLib_SetLoadMemory |