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

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

d_instId

The database ID of the instance.

t_libName

New master library name for the instance.

t_cellName

New master cell name for the instance.

t_viewName

New master view name for the instance.

Value Returned

t

The master library, cell, or view name for the instance is changed.

nil

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
 ⠀
X