[Chimera-users] show/hide surface
Elaine Meng
meng at cgl.ucsf.edu
Wed Oct 11 16:48:45 PDT 2017
Hi Hernando,
To hide and show the whole model without changing individual atom/ribbon display (same as checking the Model Panel “S” box), use the “modeldisplay” command, for example:
~modeldisp #4
modeldisp #2-5
see <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/modeldisplay.html>
It also works with surface models, but since a molecular surface generally has the same model number as the atomic model it was based on, it is tricky to specify it separately. Here is a somewhat ugly example of specifying only surface model #0 but not atomic model #0:
~modeldisp #0 & ~ @*
(hide model 0 but not any atoms). If you just used #0 it would hide both atomic model #0 and surface model #0.
I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco
> On Oct 11, 2017, at 3:51 PM, Hernando J Sosa <hernando.sosa at einstein.yu.edu> wrote:
>
> Is there a command to show/hide surfaces that does the same as checking/unchecking the GUI model panel hide box?. Or something equivalent to the comands:
> ~show
> ribbon
> ~ribbon
> for atoms and ribbons ?
> Thks
> H.
More information about the Chimera-users
mailing list