Ticket #3331 (closed)
Add more instrument view methods to the python interface
Reported by: | Roman Tolchenov | Owned by: | Roman Tolchenov |
---|---|---|---|
Priority: | major | Milestone: | Iteration 30 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Russell Taylor |
Description
do we have all the python handles to change instrument view. I am after automatically changing the view to to cylindrical Y ? I can change the Max value (I looked at examples for GEM) but in fact, I still have to press the return key in the box.
Thanks,
P
Change History
comment:2 Changed 9 years ago by Roman Tolchenov
- Status changed from accepted to closed
- Resolution set to fixed
In [13080]:
comment:3 Changed 9 years ago by Nick Draper
- Status changed from closed to verify
- Resolution fixed deleted
Corrected status to verify
comment:4 Changed 9 years ago by Russell Taylor
- Status changed from verify to verifying
- Tester set to Russell Taylor
comment:5 Changed 9 years ago by Russell Taylor
- Status changed from verifying to closed
The functionality requested is now there in the function 'setViewType', which takes a string argument to specify the desired view. If the argument is garbage, you get the main 3d view - perhaps a warning should be given as well.
Values appear to be updatable entirely from Python.
Created ticket #3757 to update the documentation at http://www.mantidproject.org/MantidPlot:_Viewing_the_Instrument_from_Python