EDA365电子工程师网
标题:
怎么设置变量的chicklist的form
[打印本页]
作者:
zhaoym248
时间:
2016-11-16 17:10
标题:
怎么设置变量的chicklist的form
我想通过窗体得到一些复选框,这些复选框名称对应板子的每一层的层叠名称,下面的代码有错误,大侠们帮忙看看问题吧
比如 我获取了dbid db_layer_pos
(("TOP" "CONDUCTOR" "COPPER" " 2.600000 mil" "0 w/cm-degC"
"595900.000000 mho/cm" "4.500000" nil nil "0"
"" "1.000000" "0" nil "90.000000"
)
("ART02" "CONDUCTOR" "COPPER" " 1.300000 mil" "0 w/cm-degC"
"595900.000000 mho/cm" "4.500000" nil nil "0"
"" "4.500000" "0.035" nil "90.000000"
)
("ART04" "CONDUCTOR" "COPPER" " 1.300000 mil" "0 w/cm-degC"
"595900.000000 mho/cm" "4.500000" nil nil "0"
"" "4.500000" "0.035" nil "90.000000"
)
("ART06" "CONDUCTOR" "COPPER" " 1.300000 mil" "0 w/cm-degC"
"595900.000000 mho/cm" "4.500000" nil nil "0"
"" "4.500000" "0.035" nil "90.000000"
)
("ART09" "CONDUCTOR" "COPPER" " 1.300000 mil" "0 w/cm-degC"
"595900.000000 mho/cm" "4.500000" nil nil "0"
"" "4.500000" "0.035" nil "90.000000"
)
("ART11" "CONDUCTOR" "COPPER" " 1.300000 mil" "0 w/cm-degC"
"595900.000000 mho/cm" "4.500000" nil nil "0"
"" "4.500000" "0.035" nil "90.000000"
)
("ART13" "CONDUCTOR" "COPPER" " 1.300000 mil" "0 w/cm-degC"
"595900.000000 mho/cm" "4.500000" nil nil "0"
"" "4.500000" "0.035" nil "90.000000"
)
("BOTTOM" "CONDUCTOR" "COPPER" " 2.600000 mil" "0 w/cm-degC"
"595900.000000 mho/cm" "4.500000" nil nil "0"
"" "1.000000" "0" nil "90.000000"
)
)
那么我使用
for(i 0 num
fprintf(port "FIELD rlue1\n")
fprintf(port "FLOC 5 i*2+5\n")
fprintf(port "CHECKLIST \ car(nth(i db_layer_pos)) \n")
fprintf(port "ENDFIELD\n")
)
为什么不行啊??
作者:
zousifang
时间:
2016-11-21 10:05
fprintf(port "CHECKLIST \ car(nth(i db_layer_pos)) \n")
是不是缺少一个参数?
作者:
wcjcn
时间:
2017-6-8 20:30
学习一下。。。
欢迎光临 EDA365电子工程师网 (https://bbs.elecnest.cn/)
Powered by Discuz! X3.2