<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Mats,</div><div><br></div><div>After you open the Commands window, click Record and do stuff in the GUI.</div><div><br></div><div>When you later click Stop, the python statements appear in the window.</div><div><br></div><br><div><div>On Feb 19, 2010, at 4:39 AM, Mats Holmstrom wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>Hi Randy,<br>  I'm also trying to script Visit plots of FLASH data.<br>It would be really helpful to be able to see the Python calls of the GUI.<br>I have not been able to do that.<br>The "Control-Command" window seems to only be for input of Python commands.<br><br>Mats Holmstrom<br><br><br>On 02/18/2010 10:35 PM, Randy Hudson wrote:<br><blockquote type="cite">Sam,<br></blockquote><blockquote type="cite">Resample is documented at <a href="https://wci.llnl.gov/codes/visit/1.5/VisItUsersManual1.5.pdf">https://wci.llnl.gov/codes/visit/1.5/VisItUsersManual1.5.pdf</a>, and in visit's onboard manual (probably the same text).<br></blockquote><blockquote type="cite">The python interface manual is at <a href="https://wci.llnl.gov/codes/visit/1.4.1/PythonInterface1.4.1.pdf">https://wci.llnl.gov/codes/visit/1.4.1/PythonInterface1.4.1.pdf</a>.  If that doesn't suffice, you might learn more from the Command window (selectable from the Control menu), which shows the python calls that implement what you're doing in the visit GUI.<br></blockquote><blockquote type="cite">You submit a python script to visit by running "visit -cli -s <scriptname>", and you can loop through multiple files in a script.<br></blockquote><blockquote type="cite">On Feb 18, 2010, at 1:06 PM, Nathan Hearn wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">Hi Sam,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">   For automation, you might want to look at the Python interface for<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">VisIt.  It has been a while since I have used it, but I don't remember<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">it being very difficult.  (As I recall, the session files that you can<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">save in VisIt often have a bit of Python code that you can reference.)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Such a script can be run from the command line without requiring the<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">GUI to load.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">- Nathan<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">On Thu, Feb 18, 2010 at 08:22, Samuel Friedman <friedman@astro.wisc.edu <<a href="mailto:friedman@astro.wisc.edu">mailto:friedman@astro.wisc.edu</a>>> wrote:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Dear Randy,<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Where would the documentation for resample be?  Also, can this be done<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">through some kind of command line interface?  I don't want to select<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">manually "File -> Export" many times (which I need to do).<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Thanks,<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Sam<br></blockquote></blockquote></blockquote><blockquote type="cite">Randy.<br></blockquote><br></div></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div><font class="Apple-style-span" face="'Courier New'" size="4"><span class="Apple-style-span" style="font-size: 14px; "><br class="Apple-interchange-newline">Randy.</span></font></div><div><br></div></span><br class="Apple-interchange-newline"> </div><br></body></html>