Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

cleCleanUpScratchCellViews

cleCleanUpScratchCellViews(
t_libName
[ ?discardPanic g_value ]
[ ?discardAutoSaved g_value ]
)
=> t  / nil

Description

Deletes all the scratch cellviews with the prefix zcleSCRATCH. These cellviews are saved by the auto-saved or panic files.

Arguments

t_libName

Name of a library.

?discardPanic g_value

Discards the scratch cellview from the saved panic file. The default is nil.

?discardAutoSaved g_value

Discards the scratch cellview from the auto-saved file. The default is nil.

Value Returned

t

Scratch cellviews are deleted.

nil

Scratch cellviews are not deleted or, there are no scratch cellviews to be deleted.

Examples

Checks if a panic file is present in the Concurrent Layout design partition view CustomDigital/cleanUp/layout_cle_p1.

cleHasPanicFile("CustomDigital" "cleanUp" "layout_cle_p1") 
=> t

Removes the panic scratch cellview.

cleCleanUpScratchCellViews("CustomDigital" ?discardPanic t)
(CLE-101062): Deleted 1 unused scratch cellviews from the disk.
 - CustomDigital/zcleSCRATCH_cleanUp_<userId>_userEdit_panic/layout_cle_p1
=> t

Checks if an auto-saved file is present in the Concurrent Layout design partition view CustomDigital/cleanUp/layout_cle_p1.

cleHasAutoSavedFile("CustomDigital" "cleanUp" "layout_cle_p1") 
=> t

Deletes the auto-saved scratch cellview.

cleCleanUpScratchCellViews("CustomDigital" ?discardAutoSaved t)
(CLE-101062): Deleted 1 unused scratch cellviews from the disk.
 - CustomDigital/zcleSCRATCH_cleanUp_<userId>_userEdit_auto/layout_cle_p1
=> t

Return to top
 ⠀
X