Can anyone help me to get via on a single net if it is inside the BGA premises. Thanks.
I'm not sure exactly how much help you need...
Try using the axlGeoPointInShape command with the via location and the BGA placebound shape as the arguments.
In reply to eDave:
You can use axlGeoPointInShape as advised by eDave but you ca also use axlIsPointInsideBox as alternative if you do not have the datebase id of the BGA placebound.
point = viaDbid->xy
box = BGAsymbolDbid->bBox
ptIsInsideBGA = axlIsPointInsideBox(pt box)
output will be t/nil
Hope it helps.
In reply to D912349:
Thanks for the reply.. can i also know where to get box = BGAsymbolDbid->bBox?
if i only have the dbID of the via. Thanks.
In reply to eDaJun:
It is possible if the via have a connection to the BGA. but if the via have no connection to the bga, you have to extract dbid of the bga from list of the design symbols. you can use:
designSymbols = axlDBGetDesign()->symbols -> list of all symbols in your design.
after getting the list, you can now filter BGA symbols depending on unique characteristic of BGA.
if my via is connected to a BGA how can i get BGA property "bBox"?..
1. identify and get all your bga components.2. Get the bbox of each.3. Set find filter to vias.4. Select all vias using axlSingleSelectBox(bBox).5. You may add additional filters/routines depending on your requirement.
This way, it doesn't matter if via is connected to bga or not.
-Jun Padua Ikaw Na
In reply to Aldrin:
Dear Sir Aldrin,
Thanks for the quick response.. I already got it. Thanks for your help.
-Hndi sir aldrin "IKAW NA".... =]