I need to rename a lot of cells and change also the references from old cell to new ones.
From Library Manager it is present "Rename Cell" with Update Instance that is the right function, but I did't find skill code to do the operation automatically.
You can use the ccp* functions combined with the gdm* functions to achieve this. For example there is a ccpCopy function that can perform a copy followed by an update operation. Here is a snippet taken from my CCShierCopyCell.il that can be found on SourceLink:
ccpCopy( specList ;; source spec list destSpecList ;; destination spec list nil ;; overwrite? 'CCP_NO_EXPAND ;; expandflag nil ;; copyViewType list nil ;; copyViewName list "" ;; viewName regular expression "CDBA" ;; name space referring to previous 2 arguments 'CCP_UPDATE_DESTLIB_ONLY ;; whatToUpdate )
Get the code here or here
Also, check the documentation for the ccpCopy(), ccpExpandDesign(), gdmCreateSpec(), gdmCreateSpecList(), gdmAddSpecToSpecList(), gdmResetSpecList() and gdmInspectSpec() SKILL functions.
I hope this helps you.
thank you for you help
How about using the search capability in the documentation? You can get to the documentation either using the Help menus in the tools (surprise, surprise), or by using cdnshelp in IC61 or cdsdoc in IC5141. Or you can search on Cadence Online Support.
Or if that's too difficult, it's in <ICinstDir>/doc/caiuser/caiuser.pdf (The Cadence Application Infrastructure Guide).
Well Andrew that helped. But while copying and updating cells in the destination library only a few of the cells are updated and not all of them. Can you think of something why this is happening.