Print Structures to Notebooks?
jjweimer
Wed, 04/22/2009 - 08:51 pm
How can I capture an entire structure to print to a notebook? My structure contains all sorts of things, so StructPut fails. The purpose is for debugging ... I want to review the structure throughout various stages in processing in a bit more comfort than afforded by the history window. Am my left to parse each portion of the structure to print separately, or can print MYSTUCTURE somehow be "redirected"?
I notice back in Aug 30 2006, Jan Ilavsky had nearly this same question on the Igor mailing list. I did not find a response.
CaptureHistory()
andCaptureHistoryStart()
to grab the history into a string and then place that in a notebook.April 23, 2009 at 04:01 am - Permalink
Oh! Yes, perfect. Thanks!
--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAH
April 23, 2009 at 06:28 am - Permalink
Oh, wow! Someone actually knows about CaptureHistory, and someone else thinks it's useful!
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
April 23, 2009 at 04:49 pm - Permalink