Hi Andrew, I loaded the code and set the bindkey but it always triggers unmarknetAll, I put a print statement inside else right after hiGetCurrentWindow()~>markedNets = t to print the value of hiGetCurrentWindow()~>markedNets , and found that it always returns nil. Also it never enters the if statement and only enters the else statement. The code wont work because it will never evaluate hiGetCurrentWindow()~>markedNets to true even if i manually set it to true. I wonder if there is a way to find the previous cmd used so I can check if the previous cmd is leHiMarkNet() or leHiUnmarkNet() then i will set the current cmd to leHiUnmarkNet() or leHiMarkNet() Thanks
↧