Allegro利用Skill语言实现通过焊盘获取对应的网络名的功能
作者:互联网
/******************获取焊盘的网络名******************/
defun(GetPinsNetName (PinName)
axlClearSelSet()
axlSetFindFilter( ?enabled (list "noall" "pins" ) ?onButtons (list "pins"))
dbid = axlSelectByName("PIN" PinName t)
axlShowObject(axlGetSelSet())
let((netname)
netname = car(dbid)->net->name
axlUIWPrint(nil "netname=%s" netname)
netname=netname
)
)
netName=GetPinsNetName("U187.AE6")
标签:PinName,焊盘,GetPinsNetName,dbid,Allegro,netname,pins,Skill 来源: https://blog.csdn.net/LIYUANNIAN/article/details/97617223