|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区
您需要 登录 才可以下载或查看,没有账号?立即注册
×
走线过程总,多层板想打个孔,有可能底下有线 。。用这个代码,按一下按键,信号线全亮 ,再按一下,其他信号线就消失了。有帮助
[backcolor= transparent]axlSetFunckey("`" "skill zsqlayer_etchlayer_all_onoff")[/table]
[backcolor= transparent]zsqlayer_etch_layer_on_mark = t[/table]
[backcolor= transparent];[/table]
[backcolor= transparent];[/table]
[backcolor= transparent];[/table]
[backcolor= transparent](procedure zsqlayer_etchlayer_all_onoff()[/table]
[backcolor= transparent] (prog (ethlayer)[/table]
[backcolor= transparent] (if zsqlayer_etch_layer_on_mark == t then[/table]
[backcolor= transparent] vsb = axlVisibleGet()[/table]
[backcolor= transparent] ethlayer = setof(p1 axlSubclasses("ETCH") axlLayerGet(sprintf(nil "ETCH/%s" p1))->type == "CONDUCTOR")[/table]
[backcolor= transparent] setofs(p1 ethlayer axlVisibleLayer(sprintf(nil "ETCH/%s" p1) t))[/table]
[backcolor= transparent] setofs(p1 ethlayer axlVisibleLayer(sprintf(nil "VIA CLASS/%s" p1) t))[/table]
[backcolor= transparent] setofs(p1 ethlayer axlVisibleLayer(sprintf(nil "IN/%s" p1) t))[/table]
[backcolor= transparent] zsqlayer_etch_layer_on_mark = nil[/table]
[backcolor= transparent] else[/table]
[backcolor= transparent] axlVisibleSet(vsb)[/table]
[backcolor= transparent]zsqlayer_etch_layer_on_mark = t[/table]
[backcolor= transparent] );end if[/table]
[backcolor= transparent] axlVisibleUpdate(t)[/table]
[backcolor= transparent] )[/table]
[backcolor= transparent]);end procedure[/table] |
|