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
Value Returned
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
Return to top