EDA365电子工程师网

标题: skill如何设置NC里面的drill tolerance [打印本页]

作者: lyh289114980    时间: 2014-11-13 16:45
标题: skill如何设置NC里面的drill tolerance
请大家帮忙看下我的代码,问题出在哪。和我想要的不一样,我要的是plated tol:3, non-plated tol:2
          allpadID = axlDBGetDesign()->padstacks
    allThrpadID = list()
    foreach(padid allpadID
             padt = padid->isThrough      
       if( equal(padt t) then
          printf("%s\n" padid->name)      
          allThrpadID = append1(allThrpadID padid)
               )   
      )
    thrcplist = throplist = thrrplist = list()
    foreach(one allThrpadID
       orplat=one->plating
      if(orplat=="plated" then
              axlPadstackEdit(one 'holeTolerance 3)
     printf("%s\n" one->plating)
              else
              axlPadstackEdit(one 'holeTolerance 2)
     printf("%s\n" one->plating)
               ))

作者: lyh289114980    时间: 2014-11-15 12:17
怎么没人回答,好在自己弄好了。





欢迎光临 EDA365电子工程师网 (https://bbs.elecnest.cn/) Powered by Discuz! X3.2