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")