Hi can any one show some light on how to perform the solution. For example if i have "M1 drawing layer" visible in LSW , then if i press some bindkey the M1 dummy layer should get vissible. I have tried some code but it isnt working. Copied for reference below
for(i 1 10
x=leIsLayerVisible( list("layer" "drawing") )
if( x == "t" then (
hiSetBindKey("Layout" "Ctrl<Key>8" "showDummySet() ")
You have quotes around "layer" which means it will be treated as a literal string, rather than the variable you intended. Take these quotes away and you may get it working. (I have not looked in detail at this code, I just noticied this bit).