v.set_parameters(solid_levels = [(3.5, 0), (5.1, .5), (10, 1.0)])

The pairs are map value and scale for brightness and opacity (0 = completely transparent, 1 = full brightness and opaque).

Tom

On Jul 15, 2015, at 5:55 PM, Dougherty, Matthew T  wrote:

Hi,

I can access threshold values from solid/volume rendering. eg:
        from VolumeViewer import active_volume
        v = active_volume()
        if v==None:
            return

        levels = getattr(v, "solid_levels")
        t,a=levels[0]

How can I change a threshold value?



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