Command
QisLib_UndeleteVector Function: int QisLib_UndeleteVector(const char* StructName, CVectHandle VectorHandle); Inputs: StructName: Name of the cell for which a deleted data are to be undeleted. VectorHandle: Handle to the data to be undeleted. 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 undelete vector. -4: Undeleting vector while saving is not permitted. -5: Internal memory error occurred while undeleting vector. -6: The specified cell does not exist. -7: File open in progress, operation not permitted. Description: - This function restores a data previously deleted using a QisLib_DeleteVector or QisLib_DeleteAllVectors call. - 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. - The specified cell can be any cell in the database and need not be the currently opened cell. - This function works for newly added as well as original data in the file. - 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_SetLoadMemory QisLib_DeleteVector QisLib_SetAddVectorHandle QisLib_SetVectorHandle |