On Tue, Jun 07, 2011 at 11:06:41PM +0200, LI Hongying wrote: > How can I get the current "mlab.view()" value of scene1 after some > interaction with the mouse ?
> Currently I'm using my script in the following way, and I'd like to print > the current value of mlab.view() in the terminal. > $ EPDpython appName.py dataName > ( Maybe I should work in other ways ? Any suggestions ?) Maybe the best way is to work in 'IPython -wthread' and to run the script using '%run appName.py dataName' in IPython, so as to be able to enter commands in the prompt while playing interactively with the GUI. Gaël ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ MayaVi-users mailing list MayaVi-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mayavi-users