dbGetInPlaceCoverObstructionMergeDistance
dbGetInPlaceCoverObstructionMergeDistance(d_InstHeaderId t_layerName) =>f_mergeDistanceValue
Description
Returns value of the InPlaceCoverObstruction MergeDistance attribute for the specified instance header on the given layer.
Arguments
Value Returned
|
Valid MergeDistance value for the specified instance header. If the operation fails, default value of MergeDistance is returned. |
|
Examples
Returns 10.0 as the InPlaceCoverObstruction MergeDistance attribute value for the instance header instHeaderId on the layer Layer1.
inst = dbCreateInst(cv master "inst" list(3 4) "R0" 1)
instHeaderId = inst~>instHeader
dbCreateInPlaceCoverObstruction(instHeaderId list("closed" 1 4))
equal(dbGetInPlaceCoverObstructionMergeDistance(instHeaderId "Layer1") 0.0))
dbSetInPlaceCoverObstructionMergeDistance(instHeaderId "Layer1" 10.0)
equal(dbGetInPlaceCoverObstructionMergeDistance(instHeaderId "Layer1") 10.0)
Return to top