techSetLPPriorityInContext
techSetLPPriorityInContext(d_tfId d_techLPId x_priority) =>d_lppId/ nil
Description
Sets the drawing priority of a layer-purpose pair in an effective technology database. The larger the number, the higher the priority. The layer-purpose pair must exist in the graph rooted at the specified technology database; it does not need to exist locally in the specified technology database.
The following three cases apply:
- If d_techLpId exists in d_tfId, the priority is reset and the function returns d_techLpId.
- If d_techLPId is not defined locally in d_tfId and no equivalent layer-purpose pair exists in d_tfId, a clone of d_techLPId is created in the technology database d_tfID and the function returns this newly created layer-purpose pair.
-
If d_techLpId does not exist in d_tfId, but an equivalent layer-purpose pair exists in d_tfId, the function returns
nil.
Arguments
|
The database identifier of the technology database at the top of the graph. |
|
Value Returned
Example
techSetLPPriorityInContext(tfID lpId 3)
Sets the drawing priority of the layer-purpose pair identified by lpId to 3 in the effective technology database rooted at the technology database identified by tfID.
Return to top