dbCreateBackgroundDefByAttr
dbCreateBackgroundDefByAttr(d_cvId t_name g_dpl) =>d_bgDefId/ nil
Description
Creates a backgroundDef based on the SKILL DPL specification of the object. Contents of the SKILL DPL specification are checked before the backgroundDef is created.
Arguments
|
SKILL DPL specification of the backgroundDef. DPL is a list of following required and optional attributes: |
Value Returned
Examples
Creates a SKILL DPL, and based on it, creates a background DPL.
; creating the SKILL DPL
bgDefAttr = list(nil)
bgDefAttr->lpp = list("bckLayer" "drawing")
bgDefAttr->netName = "bgNet"
bgDef2Attr->leftEnc = 20
bgDef2Attr->rightEnc = 30
bgDef2Attr->topEnc = 40
bgDef2Attr->botEnc = 50
;; creating bgDef based on the SKILL DPL
bgDef = dbCreateBackgroundDefByAttr(cv "bgDef" bgDefAttr)
Related Topics
Placement Database Access Functions
Return to top