leReplaceAnyInstMaster
leReplaceAnyInstMaster(d_instId{t_libName| nil } {t_cellName| nil } {t_viewName| nil } ) =>t / nil
Description
Changes the master library, cell, or view name for the instance. If you do not want to change any of these names, you must type nil in its place.
Arguments
Value Returned
|
The master library, cell, or view name for the instance is changed. |
|
|
The master library, cell, or view name for the instance is not changed. |
Example
Changes the master cell name the instance to Inv.
foreach(fig geGetSelSet()
if(fig~>objType == "inst"
leReplaceAnyInstMaster(fig nil "Inv" nil)
if(fig~>objType == "mosaic" && fig~>mosaicType == "simple"
leReplaceAnyInstMaster(car(fig~>instanceList) nil "Inv" nil)
)
)
)
Return to top