On Jan 18, 2009, at 7:56 PM, Matthew Dougherty wrote:
I have a command file that has a number of reset commands.
I would like to
1) interrupt a command file during execution, aborting all further
commands, stopping the graphics configuration at the abort (e.g.
threshold values, active models, etc)
2) be able to place a hold in a command file, say after the a reset
command, and be able to continue the command processing after pressing
a key on the keyboard.
Does this capability exist?
We don't have #1, though it used to exist in Midas by pressing the Escape key during script execution. I will open a feature request in our Trac database to get this capability back. It will probably take a couple of months for me to get to it. You'll get automated mail from Trac when the implementation happens.
I went ahead and implemented #2 since I thought it would be trivial. It turned out to be a little less trivial than I had thought, but not too bad. It will be available as the "pause" command starting with tonight's daily builds.
I don't know what your need for these commands are precisely, but you should be aware that the Demo capability of Chimera offers #2 already, though maybe creating a demo is a little more elaborate than what you want.
--Eric
Eric Pettersen
UCSF Computer Graphics Lab