
Hi, I need some help as to how to call Erase() from VolumeEraser I am thinking it is something like this, but I am unable to determine what xxxxx value should be. from VolumeEraser.gui import Volume_Eraser_Dialog Volume_Eraser_Dialog.Erase(xxxxx) Matthew Dougherty National Center for Macromolecular Imaging Baylor College of Medicine

never mind, got it from VolumeEraser.gui import Volume_Eraser_Dialog v=Volume_Eraser_Dialog() Volume_Eraser_Dialog.Erase(v) Matthew Dougherty National Center for Macromolecular Imaging Baylor College of Medicine ________________________________________ From: Dougherty, Matthew T Sent: Thursday, March 06, 2014 6:48 PM To: chimera-dev@cgl.ucsf.edu Subject: volume eraser Hi, I need some help as to how to call Erase() from VolumeEraser I am thinking it is something like this, but I am unable to determine what xxxxx value should be. from VolumeEraser.gui import Volume_Eraser_Dialog Volume_Eraser_Dialog.Erase(xxxxx) Matthew Dougherty National Center for Macromolecular Imaging Baylor College of Medicine

Hi Matt, Better to do it this way: from VolumeEraser import gui d = gui.volume_eraser_dialog() d.erase_inside_sphere() The way you are doing will create a new dialog each time you run the code whereas the above will use the same dialog over and over. Tom On Mar 6, 2014, at 4:53 PM, "Dougherty, Matthew T" wrote:
never mind, got it
from VolumeEraser.gui import Volume_Eraser_Dialog v=Volume_Eraser_Dialog() Volume_Eraser_Dialog.Erase(v)
Matthew Dougherty National Center for Macromolecular Imaging Baylor College of Medicine ________________________________________ From: Dougherty, Matthew T Sent: Thursday, March 06, 2014 6:48 PM To: chimera-dev@cgl.ucsf.edu Subject: volume eraser
Hi,
I need some help as to how to call Erase() from VolumeEraser
I am thinking it is something like this, but I am unable to determine what xxxxx value should be.
from VolumeEraser.gui import Volume_Eraser_Dialog Volume_Eraser_Dialog.Erase(xxxxx)
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
participants (2)
-
Dougherty, Matthew T
-
Tom Goddard