Hi Junjun,
Yes, representations need to be refreshed. This should do it:
PyMOL> rebuild
Note that "reps" is only available in alter since PyMOL 1.7.4
Of course, to hide all representations, you can also do:
PyMOL> hide everything, resi 84 and name CE1
Cheers,
Thomas
> On May 15, 2017, at 11:33 AM, liu junjun wrote:
>
> Hi all,
>
> I have a question about alter command on "reps" variable. I find reps is zero
> when object being set with "hide everything". I try to modify one atom's reps
> to be zero by using the following alter command:
>alter (resi 84 and name CE1), reps=0
> It seems the reps do changed to 0, but that atom is not being hidden. My
> question is: do we need to refresh the representation after altering one
> atom's reps? if yes, how to do that?
>
> Thanks in advance!
>
> Junjun
--
Thomas Holder
PyMOL Principal Developer
Schrödinger, Inc.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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