To change the region bounds of a volume v in Python:

v.new_region((0,0,0), (50,60,70))

Here’s the Python declaration in chimera/share/VolumeViewer/volume.py where the Volume class is defined.

  def new_region(self, ijk_min = None, ijk_max = None, ijk_step = None,
                 show = True, adjust_step = True, save_in_region_queue = True):

Tom


On Apr 4, 2017, at 3:58 PM, Dougherty, Matthew T <matthewd@bcm.edu> wrote:

I am trying to modify the region bounds of the volume viewer using python.
What module should I be looking at to determine the api calls?

thanks, 

Matthew Dougherty
National Center for Macromolecular Imaging
Baylor College of Medicine
=================================================
=================================================
_______________________________________________
Chimera-dev mailing list
Chimera-dev@cgl.ucsf.edu
http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-dev