CadenceSkill 源码分享-- 走线层全开
走线过程总,多层板想打个孔,有可能底下有线 。。用这个代码,按一下按键,信号线全亮 ,再按一下,其他信号线就消失了。有帮助axlSetFunckey("`" "skill zsqlayer_etchlayer_all_onoff")
zsqlayer_etch_layer_on_mark = t
;
;
;
(procedure zsqlayer_etchlayer_all_onoff()
(prog (ethlayer)
(if zsqlayer_etch_layer_on_mark == t then
vsb = axlVisibleGet()
ethlayer = setof(p1 axlSubclasses("ETCH") axlLayerGet(sprintf(nil "ETCH/%s" p1))->type == "CONDUCTOR")
setofs(p1 ethlayer axlVisibleLayer(sprintf(nil "ETCH/%s" p1) t))
setofs(p1 ethlayer axlVisibleLayer(sprintf(nil "VIA CLASS/%s" p1) t))
setofs(p1 ethlayer axlVisibleLayer(sprintf(nil "PIN/%s" p1) t))
zsqlayer_etch_layer_on_mark = nil
else
axlVisibleSet(vsb)
zsqlayer_etch_layer_on_mark = t
);end if
axlVisibleUpdate(t)
)
);end procedure 完了,论坛会把部分代码改写。。显示的代码好像不太对啊 。。 学习一下看看~ 显示的代码不对 学习一下