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.
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.
Thanks for the reply.. can i also know where to get box = BGAsymbolDbid->bBox?
if i only have the dbID of the via. Thanks.
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"?..