I'm trying to create bindings such that when I press one key while my mouse is positioned over a non-hilighted net, it will be hilighted. If I press a different key while my mouse is positioned over a hilighted net, it will be un-hilighted.
These functions already exist in cadence, but they prompt you to click on the net after you press the keys that are bound to the geAddNetProbe and geDeleteNetProbe functions. I'm trying to make it such that the cursor's current coordinates are automatically passed to these functions. Here is what I have tried:
hiSetBindKey("Schematics" "<Key>5" "geAddNetProbe( hiGetCurrentWindow( ) schSingleSelectPt( ) ) ")
Unfortunately this is not working the way I have intended. When I press the '5' key, the net is hilighted, but there is a message in Virtuoso promting me to "Point at a figure on a net or enter the name of the net". When I click on the net again, I receive the following error message in the CIW window:
*Error* _geMakeProbeWithColor: argument #5 should be a list (type template = "wtggltltt") - t
What am I doing wrong here?