zsheng3042 发表于 2022-7-26 18:35:14

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

zsheng3042 发表于 2022-7-26 18:35:56

完了,论坛会把部分代码改写。。显示的代码好像不太对啊 。。

wangyitu 发表于 2022-7-27 08:34:03

学习一下看看~

sea_shao 发表于 2022-7-27 08:39:09

显示的代码不对

qq85654202 发表于 2022-7-27 08:43:50

学习一下

小鑫鑫 发表于 2022-7-27 08:45:58

ww645133040 发表于 2022-7-27 08:56:19

edwin99 发表于 2022-7-27 08:58:39

ilpuyi 发表于 2022-7-27 09:00:05

zhangziyi 发表于 2022-7-27 09:06:04

页: [1] 2 3
查看完整版本: CadenceSkill 源码分享-- 走线层全开