【SKILL】hierarchy copy and update
viewTypeList = list("maskLayout" "schematic" "schematicSymbol")
srcList = gdmCreateSpecList()
src = gdmCreateSpec(t_lib cell_name "" "" "CDBA")
gdmAddSpecToSpecList(src srcList)
destList = gdmCreateSpecList()
skipList = gdmCreateSpecList()
skipLibs = list("tmscN28" "basic")
foreach(refLib skipLibs
gdmAddSpecToSpecList(gdmCreateSpec(refLib "" "" "" "CDBA") skipList)
);end
dest = gdmCreateSpec(s_lib cell_name "" "" "CDBA")
gdmAddSpecToSpecList(dest destList)
ccpCopyDesign(src dest t 'CCP_EXPAND_ALL skipList viewtypeList nil "" "CDBA" 'CCP_UPDATE_DESTLIB_ONLY)