Hi Pablo,
I am not the expert on the volume viewer or volumes in general — our expert is on vacation until the end of next week — but here’s what I’ve got.  First, this will find the Volume Viewer dialog instance for you:

from chimera import dialogs
vdlg = dialogs.find(“volume viewer”)

Then, the following will return strings containing the voxel size and counter level respectively.  You would have to apply float() to them to turn them into numbers…

voxel_size = vdlg.coordinates_panel.voxel_size.get()
contour_level = vdlg.thresholds_panel.threshold.get()

—Eric

Eric Pettersen
UCSF Computer Graphics Lab


On Apr 27, 2017, at 11:11 AM, Pablo Solar Rodríguez <pablosolar.r@gmail.com> wrote:

Hello everyone!

I feel you will get tired of me asking so many questions hehe 

Anyway, I continue developing my plugin and I'd like to know if there's any way to get values from other chimera dialogs although they are not open.

For example, when my map is loaded I need the values, from the Volume Viewer, of the voxel size (in Coordinates panel) and the cutoff, but I didn't find how to get them and I really don't know if this is possible or not.

Thank you in advance and, as usual, kind regards!

Pablo.


_______________________________________________
Chimera-dev mailing list
Chimera-dev@cgl.ucsf.edu
http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-dev