This script can be used when changing a GDSII cell name to verify the change won't break the places it is used.

This script will prompt for the name of a GDSII cell and then look through cell libraries and find all the cells that use the named cell. This script can also look through all the schematics and generate a list of locations where the cell has been used when the Search schematic elements as well as cell libraries option is selected.