Command
QisLib_SetDBU Function: int QisLib_SetDBU(double Grid, double Unit); Inputs: Grid: A floating point value for GDSII/OASIS grid. (Number of database units in a user unit) Unit: A floating point value for GDSII Units. (Number of database units in a meter) Return: success: 0 failure: one of the following values : Errors: -1: File open in progress, operation not permitted. Description: - Instructs the QisLib to set the grid (GDSII and OASIS) and units (GDSII) for the file to be saved. - When this function is executed, the numerical values of all the data remains unchanged. Hence the physical size of the data will change. - All data will be processed with the new Grid and Unit values. - This command will scale up or down all data while drawing. - The text data in the output file may be too big or too small relative to the rest of the data since text insertion scales are not changed by this function. - When the GDSII/OASIS file is saved, these two numbers are save as it is. - Since the user units for OASIS files is always a micron, the 'Unit' argument does not have any usage for OASIS files. Hence it will be ignored when processing OASIS files. - This function should not be called when a GDSII/OASIS file is being opened.References: QisLib_SaveGDSII QisLib_SaveOASIS QisLib_SaveGDSIIStructure QisLib_SaveOASISStructure |