I'm using ic5141 and I would like to automatically run a routine everytime I choose to run a simulation, either by pressing Simulation->Run or by pressing the "Netlist and Run"/"Run" icons.
I tried to follow the post on "automatically run a routine when a menu item is invoked from CIW or schematic window" - http://www.cadence.com/community/forums/T/25992.aspx but it didn't work.
Cold someone have any idea on how to proceed?
Thanks in advance.
If you use the asiGetTool() approach I showed, you can do this completely up front (e.g. in the .cdsinit) - no need to do it when you load a new ADE session. If you use the asiSet() passing it the result of asiGetCurrentSession(), then you have to do it each and every time an ADE session is launched.
So simply put the code I gave in your .cdsinit and you're done.