PM2016宏应用之六:刀路文件夹批量复制为NC
这个宏很简单!因为我主要提供一级目录的复制!更复杂的我没有写!大家可以回帖讨论!谢谢!<div style="line-height: 22.4px; background-color: rgb(255, 255, 255);"><span style="line-height: 22.4px;"><font color="#0000ff" size="5"><i>//重置NC</i></font></span></div><div style="line-height: 22.4px; background-color: rgb(255, 255, 255);"><font color="#0000ff" size="5"><i>DELETE NCPROGRAM ALL</i></font></div><div style="line-height: 22.4px; background-color: rgb(255, 255, 255);"><font color="#0000ff" size="5"><i>FOREACH ToolpathFolder in get_folders('Toolpath') {</i></font></div><div style="line-height: 22.4px; background-color: rgb(255, 255, 255);"><font color="#0000ff" size="5"><i> EDIT FOLDER $ToolpathFolder NCPROGRAM</i></font></div><div style="line-height: 22.4px; background-color: rgb(255, 255, 255);"><font color="#0000ff" size="5"><i>}</i></font></div>
//重置NC
DELETE NCPROGRAM ALL
FOREACH ToolpathFolder in get_folders('Toolpath') {
EDIT FOLDER $ToolpathFolder NCPROGRAM
}
谢谢! SAfgsdvasddgsd 论坛里面高手如云 发大水鞯大师傅鞯朝秦暮楚塔顶 今天天气好正好学习 666666 牛奶可乐经济学百度云 13131321313110 顶顶顶顶顶顶顶顶顶