Command
QisLib_SetResolution Function: int QisLib_SetResolution(double Res); Inputs: Res: Specifies what should be the resolution of the data in the GDSII/OASIS file. e.g Res = 0.001 indicates that 1000 Database units = 1 User Unit. Return: success: 0 failure: one of the following values : Errors: -1: No GDSII or OASIS file has been opened. -2: File open in progress, operation not permitted. Description: - The resolution indicates the finest precision users can address in user unit. - When this function is executed, QisLib keeps all the data in the same physical dimensions but with more precision. Old data, present before this function would not get more precision but new data to be added will have the new precision. All data will now be processed with the new grid. - Internally, this function will update all extents and data to be in this new grid. - The numerical values of all data might be changed while saving to an output GDSII/OASIS file after this function has been called. Example: If the resolution of a GDSII/OASIS file is changed from 0.001 to 0.0001, - Data with physical length 10.123 microns will have new physical length 10.1230 - Newly added data can have physical lengths of more precision such as 10.1234 - If some data had numerical value of 10123 Database units, it will be changed to 101230 when saved to a GDSII/OASIS file.References: QisLib_SaveGDSII QisLib_SaveOASIS QisLib_SaveGDSIIStructure QisLib_SaveOASISStructure |