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

sltSetContextSpecificationCells

sltSetContextSpecificationCells(
l_contextSpecificationCells
)
=> t / nil

Description

Defines a list of contexts for slotting. A slotting context has a name and an associated slotting specification cell in the format library/cell/view.

Arguments

l_contextSpecificationCells

List of context pairs defined for slotting.

Value Returned

t

A list of contexts was defined for slotting.

nil

The command failed to run.

Examples

Adding the following example in the .cdsinit file defines a list of contexts for slotting. The two environment variables that let you use these defined contexts are useOneSlotSpecCell and slottingContext.

sltSetContextSpecificationCells( '(("context1" "DESIGN/specCell1/layout") ("context2" "DESIGN/specCell2/layout")) ) 

After specifying the two environment variables, when you open the Metal Density Options form, the slotting parameters are taken from the specification cell DESIGN/specCell2/layout.

envSetVal("slt" "useOneSlotSpecCell" 'boolean nil) 
envSetVal("slt" "slottingContext" 'string "context2") 

Related Topics

Slot Functions

sltShapeConsecutiveSlotting

lxShapeSlotting

lxConvertSlotToPolygon


Return to top
 ⠀
X