|
使用批处理命令,自动汇总光绘所需文件,并删除冗余文件,保留.brd和.txt文件。注意,.bat文件需要和.art 、.drl 、.brd 、.txt在同一目录下。不知道有人可以用Skill实现吗,注意输入的文件名要和.brd文件名一致。
.bat代码如下,请自行对照光绘文件名称进行修改:
cd %~dp0
set Foldername=:
set /p Foldername=请输入文件名:
md %Foldername%
cd %Foldername%
md ART ROU
cd ..
copy .\TOP.art .\%Foldername%\ART\
copy .\BOTTOM.art .\%Foldername%\ART\
copy .\PASTTOP.art .\%Foldername%\ART\
copy .\PASTBOTTOM.art .\%Foldername%\ART\
copy .\SILKTOP.art .\%Foldername%\ART\
copy .\SILKBOTTOM.art .\%Foldername%\ART\
copy .\SOLDTOP.art .\%Foldername%\ART\
copy .\SOLDBOTTOM.art .\%Foldername%\ART\
copy .\DRILL.art .\%Foldername%\ART\
copy .\*.drl .\%Foldername%\ROU\
copy .\art_param.txt .\%Foldername%\
copy .\nc_param.txt .\%Foldername%\
copy .\%Foldername%.brd .\%Foldername%\
del *.log*
del *".txt,"*
del *.jrl*
del *.scr*
del *.dml
del *.tag
del *.lst
del *.dmp
del *"art,"*
rd *"signoise"*
rd stepFacetFiles4map
|
|