sxf色変換
標準線色1~8を、sxf色に変換する外部変形。
※カラー印刷する図形に適用する場合。
@REM sxf色変換
@echo off
REM #jww
REM #cd
REM #h1 範囲内選択
REM #hc 範囲選択してください
REM #ht10 ブロック図形除外
REM #ht30 寸法図形除外
REM #ht40 ソリッド図形除外
REM #e
jgawk -f sxf.awk jwc_temp.txt>temp.txt
copy temp.txt jwc_temp.txt
del temp.txt
goto end
左AM0時 確定 基点(free)
:end
sxf.awk
----------
BEGIN{
lc[1]=107
lc[2]=108
lc[3]=103
lc[4]=105
lc[5]=109
lc[6]=104
lc[7]=112
lc[8]=102
}
###
/hq/{print "hd";next}
#sxf線色に変更
/^lc/{
cn=substr($1,3)
for(i=1;i<=8;i++){if(cn==i){print "lc" lc[i]}
}next}
{print}
| 固定リンク

コメント