Quantcast
Channel: Cadence PCB Design Forum
Viewing all articles
Browse latest Browse all 5525

conditional with funckey?

$
0
0

I have a custom key set in PCBENV:

funckey Home replay g5

When I press Home, it plays a script to change grid to 5 mils. If I'm using metric instead. I'd like to run a different script.

Is there a way to test what the units are set to?

pseudocode:

if metric

run metric script

else

run inches script

Thanks for any ideas..


Viewing all articles
Browse latest Browse all 5525

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>