|
发表于 2016-6-14 10:57:58
|
显示全部楼层
1) First you need a function which could change the layer;
For example, i define the changelayers1 function which will change the object you choose into Metal1.
procedure(changelayers1()
geGetSelectedSet()~>layerName="M1"
)
2)Secondly, you should find a place to define these functions.There are 2 ways:
(i) in the CIW window, Options~>Bindkeys..., ~>Layout, press the green + icon to define a new bindkey and save the file;
(ii) in the .cdsinit file, write sentence like below(i choose 1 as the bindkey):
hiSetBindKeys("Layout" "<Key>1" "changelayers1") |
|