| |||
当一个Cell有多个View,如schematic、symbol、layout、calibre、adexl等,一般我们只想要看原理图schematic,不想每次双击都跳出一个菜单选择view和打开方式。配置成默认new tab打开原理图
不再打开这个窗口选择 view 和打开方式
论坛中有类似帖子 https://bbs.eetop.cn/thread-961593-1-1.html ,但解决方法不尽人意
配置方式来源自帮助文档:Descending Using the Descend Command & Descend Edit/Read & View Name List
帮助文档原文如下:
Press the F3 key in the active Descend command to bring up the options form.
Target Cellview Specify the descend target cellview, either query user or use viewNameList.
Environment variable: descendTarget
If the descend target is query user (default), the Descend form opens, asking you which view you want to descend into.
If the descend target is use viewNameList, type view names in a specific order in the View Name List field in the Command tab of the Editor Options form.
单次配置:
`Edit > Hierarchy > Descend Edit : Shift+E → F3 > Target Cellview:viewNameList & Open in new tab`
`Editor Options > Command Controls > View Name List > schematic 置于第一位`
写入环境变量:
.cdsinit
`envSetVal("schematic" "viewNameList" 'string "schematic calibre spectre cmos_sch cmos.sch veriloga")`
`envSetVal("schematic" "descendDemoteViewNameList" 'string "calibre")` ; set calibre view at the end of viewNameList
`envSetVal("schematic" "descendTarget" 'string "use viewNameList")`
`envSetVal("schematic" "descendCanvasType" 'string "new tab")`
第二句可选,意思是将 calibre 放在 viewNameList 的最后。
如果设置不成功可以加入这句,因为calibre一般是默认第一个的
.cdsenv
`schematic descendTarget string use viewNameList`
`schematic viewNameList 'string schematic symbol`
cdsinit 和 cdsenv 语句等效,设置一个即可
同样可以配置当前tab(current tab), read打开