I can provide to my Skill program some
placed BGA RefDes ("U40" for example).
How Skill program could measure this BGA balls pitch distance ?
Any response appreciated
Hi Shimon,Try:symbol = car(axlSelectByName("REFDES" "U40")); Select the BGAaxlClearSelSet()pins = symbol ->pins; Identify the BGA pinsminPitch = nil; Declare the minimum pitch variableforeach(pin1, pins foreach(pin2, remove(pin1, pins) pitch = axlDistance(pin1 ->xy, pin2 ->xy); Measure the pin to pin pitch of every pin with every other pin minPitch = if(minPitch, min(minPitch, pitch), pitch); Compare pitch with minimum found so far. ))minPitchCheers, Dave
Thank you very much for your response.
It works perfectly.
In reply to archive:
I am a beginner in SKILL routines. I know how to include a SKILL function in allegro.ilinit and execute it from allegro. But I don't know how to use the SKILL code directly in allegro(like the one you had in this post for reporting the BGA pitch) because it is not in the form of a skill function. I had tried to switch to the skill command window and paste this code in allegro. But it is not working. I know I am missing some thing. Please correct me if I am not going the right direction.
Please bear with me for deviating from the original subject...
Thanks in advance,
In reply to Babu Bin Karim:
In reply to eDave:
I got it worked. Thank you for your valuable inputs.