Thanks Thomas,

You are right. I just have added a couple of links to the "suspend_updates"
setting in the wiki to make that option easier to find.

Cheers,
Osvaldo.


On Tue, May 20, 2014 at 5:46 PM, Thomas Holder <
thomas.hol...@schrodinger.com> wrote:

> Hi Osvaldo,
>
> I think you are looking for the "suspend_updates" setting.
>
> Cheers,
>   Thomas
>
> On 19 May 2014, at 15:10, Osvaldo Martin <aloctavo...@gmail.com> wrote:
>
> > Hello everyone!
> >
> > I working on a PyMOL plugin that performs a lot of selections and
> operations. I would like to avoid updating the screen until the script
> finish (mainly to increase the performance of the plugin)
> >
> > I tried with something like this
> >
> > cmd.disable('all')
> > "Some code"
> > cmd.enable('all')
> >
> > The problem is that the "disable" command only toggles off the display
> of the currently visible representations of an object. If "Some code"
> creates a new object then this new object will be visible. On possible
> solution will be to repeat the "cmd.disable('all')" command any time a new
> object is created, but I will prefer a cleaner solution (if possible).
> >
> > Thanks in advance,
> >
> > Osvaldo.
>
> --
> Thomas Holder
> PyMOL Developer
> Schrödinger, Inc.
>
>
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to