dbAddRowCompTypeSetDef
dbAddRowCompTypeSetDef(
d_rowId
d_compTypeSetDefId
)
=> t / nil
Description
Adds a reference in the specified compTypeSetDef to the specified row object. A warning message is displayed if the objects are not of the correct type.
Arguments
Value Returned
Examples
Creates a row and compTypeSetDef. Adds reference to the compTypeSetDef in a row.
;; create row
row = dbCreateRow(cellViewid
siteDef
name
origin
numSites)
;; create compTypeSetDef
def = dbCreateCompTypeSetDef(cellViewId
"myCompTypeSetDef"
"bottomAlignment"
"bottomAlignment"
list("R0" "MX")
list("Comptype1" "CompType2")
offsetFromRowReference
componnentPitch)
;; Add reference to compTypeSetDef in row
dbAddRowCompTypeSetDef(row def)
Related Topics
Placement Database Access Functions
Return to top