Hi, We have a custom skill script which can be called either through a menu or a keyboard shortcut inside the virtuoso schematic editor. This skill function reads a cadence variable which is set in our cdsinit file. This variable defines the root directory of where the output of the function is placed. The remainder of the directory is derived from the cell name. I am not able to change this function as it is used company wide. However, our team wants the option to steer the output of the function based on the virtuoso library as well as the cell. I've identified two possible ways of doing this but haven't been able to work out how to implement either of them: write a function which is called any time a window gains focus. If the window is a virtuoso schematic window, update the cadence variable with the appropriate destination for that window. create a trigger which catches the function before it's called, and modify the variable before calling the function. I can't see anything in the documentation about knowing when a window gains focus - only how to set the focus of a window. I also don't have enough SKILL knowledge to understand the custom triggers. Are either of these solutions viable - or, is there a better way to achieve the same result? Thanks, Alistair
↧