Ticket #3331 (closed)

Opened 9 years ago

Last modified 5 years ago

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:1 Changed 9 years ago by Roman Tolchenov

  • Status changed from new to accepted

comment:2 Changed 9 years ago by Roman Tolchenov

  • Status changed from accepted to closed
  • Resolution set to fixed

In [13080]:

fixes #3331

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

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 4178

Note: See TracTickets for help on using tickets.