EDA365电子论坛网

标题: axlRunBatchDBProgram函数的使用问题求助 [打印本页]

作者: 学无止境```    时间: 2025-6-23 12:26
标题: axlRunBatchDBProgram函数的使用问题求助
本帖最后由 学无止境``` 于 2025-6-23 12:28 编辑

生成钻孔和槽孔文件在17.4中无法运行,哪位大佬帮忙看下
  1.         ;调用nctape.exe输出钻孔文件,仅支持16.6
  2.         sprintf(format "nctape -$ -q -b %s" axlCurrentDesign())
  3.         axlRunBatchDBProgram("Create NC Drill" format  ?logfile "ncdrill" ?noProgress t)
  4.         ;输出槽孔文件,仅支持16.6
  5.         sprintf(cmd, "ncroute -$ -q  %s"  axlCurrentDesign())
  6.         axlRunBatchDBProgram("Create ncroute" cmd ?logfile "ncroute" ?noProgress t)
复制代码




作者: 八戒爱电子    时间: 2025-6-24 16:16
skill太难了,同问同问
作者: 雞翅加辣    时间: 2025-7-1 10:38
sprintf(format "nctape -$ -q -b %%s" axlCurrentDesign()


你需要改這樣!
Note: For t_cmdFmt, the formatting should include everything except the design filename.
Place a %s where the design should appear. To get a %s while doing a sprintf, use a “%%s”







欢迎光临 EDA365电子论坛网 (https://bbs.eda365.com/) Powered by Discuz! X3.2