Quantcast
Channel: Cadence Custom IC Skill Forum
Viewing all articles
Browse latest Browse all 5066

*Error* dbTransformPoint: Invalid point - nil

$
0
0

Hi All,

I want to get the points of a terminal(a "polygon" object type) pins(e.g. PLUS-MINUS, E-B-C) from a schematic symbol

Here is my script:

foreach( cell ddGetObj("QCBGB7_09T")~>cells

cvId=dbOpenCellViewByType("QCBGB7_09T" cell~>name "schematic" "schematic" "a")

foreach(inst cvId~>instances

if(inst~>cellName=="ndio" then

when(inst~>purpose == "cell"

foreach(insTerm inst~>insTerms

insTermPntsO=car(insTerm~>terms~>pins~>fig~>points)

ll=nth(0 insTermPntsO)

ur=nth(2 insTermPntsO)

tform=inst~>transform

;;transform ll=lower right and ur=upper right points of a symbol

insTermPntLL=dbTransformPoint(ll tform)

insTermPntUR=dbTransformPoint(ur tform)

);end of foreach

);end of when

);end of if

);end of foreach

);end of foreach

I' am having this error everytime I run this script for the "ndio" schematic symbol. By the way "ndio" is a symbol_xform(symbol pcell)

*Error* dbTransformPoint: Invalid point - nil

But if I use the script first time for other symbol such as pnp, for once I 'am not encountering this error. By the way "pnp" is also a symbol_xform(symbol pcell)

After I run the script again for pnp I' am encountering the same error.

Please correct the wrong part of my script.

Can anyone help me. It will be highly appreciated if anyone can help.

Thank You Very Much in advance.

Thanks and Regards,

Reinice


Viewing all articles
Browse latest Browse all 5066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>