techOrderLeLsw
techOrderLeLsw(tx_techfileLibNamel_lswLayers) => t / nil
Description
Defines the relative priority for a dynamic set of layer-purpose pairs (LPPs) to be shown in the Palette assistant. The layers are pulled from the current leLswLayers section to the top of the display order according to their priority numbers. The smaller the number, the higher the priority and the higher the LPP is in the list.
This function is most useful when multiple technology databases are arranged in a technology graph. The LPPs specified are expected to exist in the graph rooted at the specified technology database. The function can be run on any variant of the process stack. It silently ignores any layers that are not present. Technology files on disk are not changed.
For more information about leLswLayers, see
Arguments
|
An ordered list of LPPs to display in the Palette assistant. The list has the following syntax: |
|
Value Returned
|
The |
|
Example
Assume that the leLswLayers section has this sequence:
(("Via1" "drawing")
("Via2" "drawing")
("Via3" "drawing")
("Via4" "drawing")
("Via5" "drawing")
("Metal1" "drawing")
("Metal2" "drawing")
("Metal3" "drawing")
("Metal4" "drawing")
("Metal5" "drawing")
)
The function is called as follows:
techOrderLeLsw("topTech" list( list("Metal1" "drawing" 1) list("Metal2" "drawing" 2) list("Metal3" "drawing" 3) )
)
The leLswLayers section is updated as follows:
(("Metal1" "drawing")
("Metal2" "drawing")
("Metal3" "drawing")
("Via1" "drawing")
("Via2" "drawing")
("Via3" "drawing")
("Via4" "drawing")
("Via5" "drawing")
("Metal4" "drawing")
("Metal5" "drawing")
)
Return to top