找回密码
 注册
关于网站域名变更的通知
查看: 18|回复: 1
打印 上一主题 下一主题

请问如何将scr写成skill?

[复制链接]
  • TA的每日心情
    开心
    2024-9-17 15:51
  • 签到天数: 2 天

    [LV.1]初来乍到

    跳转到指定楼层
    1#
     楼主| 发表于 2025-6-8 10:34 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

    EDA365欢迎您登录!

    您需要 登录 才可以下载或查看,没有帐号?注册

    x
    本帖最后由 亦久忆旧 于 2025-6-8 10:36 编辑

    想写1个scr放置钻孔表,但是下列代码运行以后有问题,论坛大佬可以指导一下嘛?
    1. defun(NCdrill_Legend ()
    2.     let(()
    3.     ;设置 NCdrill Legend 参数
    4.     axlShell("setwindow pcb")
    5.     axlShell("placementedit")
    6.         axlShell("ncdrill customization")
    7.         axlShell("setwindow form.nc_drillcustomization")
    8.         axlShell("FORM nc_drillcustomization auto_symbols;fillin yes")
    9.         axlShell("FORM nc_drillcustomization done;fillin yes")
    10.         ;放置 NCdrill Legend 表格
    11.         axlShell("setwindow pcb")
    12.         axlShell("placementedit")
    13.         axlShell("ncdrill legend")
    14.         axlShell("setwindow form.nc_drilllegend")
    15.         axlShell("FORM nc_drilllegend backdrill_legends YES")
    16.         ;根据设计单位,输出
    17.     (case (car (axlDBGetDesignUnits))
    18.     ("mils"
    19.         axlShell("FORM nc_drilllegend output_unit Mils")
    20.         )
    21.     ("millimeters"
    22.     axlShell("FORM nc_drilllegend output_unit Millimeter"))
    23.         )
    24.         
    25.         
    26.         axlShell("FORM nc_drilllegend done")
    27.         axlShell("setwindow pcb")
    28.         axlShell("placementedit")
    29.         )
    30. );end defun

    31. axlCmdRegister("NCdrill" 'NCdrill_Legend)
    复制代码
    求大佬指导,我应该怎么在skill中写scr?

  • TA的每日心情
    开心
    2024-9-17 15:51
  • 签到天数: 2 天

    [LV.1]初来乍到

    2#
     楼主| 发表于 2025-6-8 10:37 | 只看该作者
    运行以后出现如下错误:W- Cannot exit current application E- Can't find window; form.nc_drillcustomization E- Form not found E- Command not found: fillin yes E- Form not found E- Command not found: fillin yes E- Can't find window; form.nc_drilllegend E- Form not found
    您需要登录后才可以回帖 登录 | 注册

    本版积分规则

    关闭

    推荐内容上一条 /1 下一条

    EDA365公众号

    关于我们|手机版|EDA365电子论坛网 ( 粤ICP备18020198号-1 )

    GMT+8, 2025-6-9 02:51 , Processed in 0.078125 second(s), 23 queries , Gzip On.

    深圳市墨知创新科技有限公司

    地址:深圳市南山区科技生态园2栋A座805 电话:19926409050

    快速回复 返回顶部 返回列表