Want to launch python script after LVS script

Hi there, I want to automatically launch a Python script after LVS has finished - is there a way to do that?

Specifically my Python script resizes the windows so that the layout is on the left hand side of the screen and the browser window is on the right.

For this, the script shells out to a command that gets the window dimensions and then uses pya.Application.instance().main_window().resize(x,y) and pya.Application.instance().main_window().move(0,0).

It then searches through pya.Application.instance().topLevelWidgets for the window with the windowTitle "Netlist Database Browser" and resizes that.

I've done this sort of thing before using the -r command-line option - but I'm now using -rr to run the LVS script so can't use -r as well.

The LVS script is in ruby so that's my starting point.

Any help appreciated...

Comments

  • You can run LVS from your Python script using the "Macro" class. Load the LVS script into a Macro object and "run" it.

    Matthias

Sign In or Register to comment.