在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 569|回复: 1

[讨论] 请问我这个脚本哪里出错误了,无法使用

[复制链接]
发表于 2023-8-4 10:56:29 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
alias bk hiSetBindKey
when( isCallable('leGetEnv)
       bk("layout" "<Key>9"  "leSetAllLayerVisible(t)hiRedraw()")
       bk("Layout" "<Key>`"  "leSetEntryLayer(\"NW\")leSetEntryLayer(\"DNW\") hiRedraw()")
       bk("Layout" "Ctrl<Key>`"  "leSetLayerVisible(\"DNW\"nil)    leSetLayerVisible(\"NW\"nil)  hiRedraw()")
       bk("Layout" "<Key>1"  "leSetEntryLayer(\"CO\")    leSetAllLayerVisible(nil)leSetEntryLayer(\"M1\" \"pin\"))leSetEntryLayer(\"pin\") leSetEntryLayer(\"M1\")leSetEntryLayer(\"OD\")
                              leSetEntryLayer(\"PP\")   leSetEntryLayer(\"NP\")  leSetEntryLayer(\"PO\")         leSetEntryLayer(\"text\")                         hiRedraw()")
       bk("Layout" "<Key>2" "leSetEntryLayer(\"VIA1\")  leSetAllLayerVisible(nil) leSetEntryLayer(\"M2\"\"pin\")) leSetEntryLayer(\"pin\")leSetEntryLayer(\"M2\") hiRedraw()")
       bk("Layout" "<Key>3" "leSetEntryLayer(\"VIA2\")  leSetAllLayerVisible(nil)leSetEntryLayer(\"M3\" \"pin\")) leSetEntryLayer(\"pin\")leSetEntryLayer(\"M3\") hiRedraw()")
       bk("Layout" "<Key>4" "leSetEntryLayer(\"VIA3\")  leSetAllLayerVisible(nil) leSetEntryLayer(\"M4\"\"pin\")) leSetEntryLayer(\"pin\")leSetEntryLayer(\"M4\") hiRedraw()")
       bk("Layout" "<Key>5" "leSetEntryLayer(\"VIA4\")  leSetAllLayerVisible(nil) leSetEntryLayer(\"M5\"\"pin\")) leSetEntryLayer(\"pin\")leSetEntryLayer(\"M5\") hiRedraw()")
       bk("Layout" "<Key>6" "leSetEntryLayer(\"VIA5\")  leSetAllLayerVisible(nil) leSetEntryLayer(\"M6\"\"pin\")) leSetEntryLayer(\"pin\")leSetEntryLayer(\"M6\") hiRedraw()")
       bk("Layout" "<Key>7" "leSetEntryLayer(\"VIA6\")  leSetAllLayerVisible(nil)leSetEntryLayer(\"M7\" \"pin\"))leSetEntryLayer(\"pin\") leSetEntryLayer(\"M7\")  hiRedraw()")
       bk("Layout" "<Key>8" "leSetEntryLayer(\"VIA7\")  leSetAllLayerVisible(nil) leSetEntryLayer(\"M8\"\"pin\")) leSetEntryLayer(\"pin\")leSetEntryLayer(\"M8\") hiRedraw()")
;      bk("Layout" "<Key>7"  "leSetEntryLayer(\"OD\")  leSetEntryLayer(\"NWELL\") leSetEntryLayer(\"PIMP\")leSetEntryLayer(\"NIMP\") hiRedraw()")
;      bk("Layout" "<Key>8"  "leSetEntryLayer(\"PO\")  hiRedraw()")
       bk("Layout" "<Key>!"  "leSetEntryLayer(\"CO\")    leSetEntryLayer(list(\"M1\" \"pin\"))leSetEntryLayer(\"M1\") hiRedraw()")
       bk("Layout" "<Key>@" "leSetEntryLayer(\"VIA1\")  leSetEntryLayer(list(\"M2\" \"pin\"))leSetEntryLayer(\"M2\") hiRedraw()")
       bk("Layout" "<Key>#" "leSetEntryLayer(\"VIA2\")  leSetEntryLayer(list(\"M3\" \"pin\"))leSetEntryLayer(\"M3\") hiRedraw()")
       bk("Layout" "<Key>$" "leSetEntryLayer(\"VIA3\")  leSetEntryLayer(list(\"M4\" \"pin\"))leSetEntryLayer(\"M4\") hiRedraw()")
       bk("Layout" "<Key>%" "leSetEntryLayer(\"VIA4\")  leSetEntryLayer(list(\"M5\" \"pin\"))leSetEntryLayer(\"M5\") hiRedraw()")
       bk("Layout" "<Key>^" "leSetEntryLayer(\"VIA5\")  leSetEntryLayer(list(\"M6\"\"pin\")) leSetEntryLayer(\"M6\")  hiRedraw()")
       bk("Layout" "<Key>&" "leSetEntryLayer(\"VIA6\")  leSetEntryLayer(list(\"M7\"\"pin\")) leSetEntryLayer(\"M7\")  hiRedraw()")
       bk("Layout" "<Key>*" "leSetEntryLayer(\"VIA7\")  leSetEntryLayer(list(\"M8\"\"pin\")) leSetEntryLayer(\"M8\")  hiRedraw()")
       ;bk("Layout" "Ctrl<Key>7"  "leSetLayerVisible(\"NP\"nil)  leSetLayerVisible(\"NW\"nil) leSetLayerVisible(\"PP\" nil) leSetLayerVisible(\"OD\"nil)  hiRedraw()")
       ;bk("Layout" "Ctrl<Key>8"  "leSetLayerVisible(\"PO\"nil)  hiRedraw()")
       bk("Layout" "Ctrl<Key>1"  "leSetLayerVisible(\"CO\"nil)    leSetLayerVisible(list(\"M1\"\"pin\" nil) leSetLayerVisible(\"M1\" nil)  hiRedraw()")
       bk("Layout" "Ctrl<Key>2"  "leSetLayerVisible(\"VIA1\"nil) leSetLayerVisible(list(\"M2\" \"pin\" nil)leSetLayerVisible(\"M2\" nil) hiRedraw()")
       bk("Layout" "Ctrl<Key>3"  "leSetLayerVisible(\"VIA2\"nil)  leSetLayerVisible(list(\"M3\"\"pin\" nil) leSetLayerVisible(\"M3\" nil)  hiRedraw()")
       bk("Layout" "Ctrl<Key>4"  "leSetLayerVisible(\"VIA3\"nil)  leSetLayerVisible(list(\"M4\"\"pin\" nil) leSetLayerVisible(\"M4\" nil)  hiRedraw()")
       bk("Layout" "Ctrl<Key>5"  "leSetLayerVisible(\"VIA4\"nil)  leSetLayerVisible(list(\"M5\"\"pin\" nil) leSetLayerVisible(\"M5\" nil)  hiRedraw()")
       bk("Layout" "Ctrl<Key>6"  "leSetLayerVisible(\"VIA5\"nil)  leSetLayerVisible(list(\"M6\"\"pin\" nil) leSetLayerVisible(\"M6\" nil)  hiRedraw()")
       bk("Layout" "Ctrl<Key>7"  "leSetLayerVisible(\"VIA6\"nil) leSetLayerVisible(list(\"M7\" \"pin\" nil)leSetLayerVisible(\"M7\" nil) hiRedraw()")
       bk("Layout" "Ctrl<Key>8"  "leSetLayerVisible(\"VIA7\"nil)  leSetLayerVisible(list(\"M8\"\"pin\" nil) leSetLayerVisible(\"M8\" nil)  hiRedraw()")
      
       bk("Layout" "<Key>p"   "leHiCreatePath()")
       bk("Layout" "<Key>n"   "leHiMarkNet()")
       bk("Layout" "Ctrl<Key>n"   "leHiUnmarkNet()")
       bk("Layout" "shift<Key>9"   "leHiConvertShapeToPolygon()")
       bk("Layout""ctrl<Key>9"  "leHiModifyCorner()")
       bk("Layout" "<Key>0"   "leHiMoveOrigin()")
       bk("Layout" "<Key>j"   "leHiAlign()")
       bk("Layout" "<Key>d"   "leHiDelete()")
       bk("Layout" "Alt<Key>e"   "leHiMakeEditable()")
       bk("Layout" "<Key>F1"   "leHiRefresh()")
       bk("Layout" "ctrl<Key>b"   "leHiCreateGroup()")
       bk("Layout" "shift<Key>a"   "leHiUngroup()")
           
          )
unalias bk
hiSetBindKey("Schematics""<key>0" "geDeleteAllProbe(getCurrentWindow() t)")
hiSetBindKey("Schematics""Shift<key>s" "schHiFind()")



发表于 2023-8-4 11:09:16 | 显示全部楼层
virtuoso窗口会报错吧,看看哪一行有问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /2 下一条

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-5-1 22:39 , Processed in 0.018760 second(s), 7 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表