|
这个宏很简单!因为我主要提供一级目录的复制!更复杂的我没有写!大家可以回帖讨论!谢谢!
- <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
}
|
|