Main Page

From PyMOLWiki
Revision as of 11:18, 11 February 2019 by Speleo3 (talk | contribs) (2.3)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
hosted by SBGridlogo2.jpg
Welcome to the PyMOL Wiki!
The community-run support site for the PyMOL molecular viewer.
To request a new account, email SBGrid at: accounts (@) sbgrid dot org
Quick Links
Tutorials Table of Contents Commands
Script Library Plugins FAQ
Gallery | Covers PyMOL Cheat Sheet (PDF) Getting Help
News & Updates
Official Release PyMOL v2.3 has been released on February 11, 2019.
POSF New PyMOL fellows announced for 2018-2019
Tutorial Plugins Tutorial updated for PyQt5
New Plugin ProBiS H2O is a new plugin for identification of conserved waters in protein structures.
Selection keywords New polymer.protein and polymer.nucleic selection keywords. Thanks everyone who participated in the poll!
Plugin Update MOLE 2.5 is an updated version of channel analysis software in PyMOL
New Script dssr_block is a wrapper for DSSR (3dna) and creates block-shaped nucleic acid cartoons
Older News See Older News.
Did you know...

Set toggle

== Overview ==

Set_toggle binds a key to switch on and off a setting.

Syntax

set_toggle key, setting

See Set_Key to find a list of key that can be redefined and Settings to find a list of settings. You can also use auto-completion.

Examples

# Associates "F1" to grid_mode setting
set_toggle F1, grid_mode

Script

<source lang="python">

  1. @AUTHOR: Joseph ANDRE
  2. Copyright (c) 2011, Joseph ANDRE
  3. All rights reserved.
  4. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following
  5. conditions are met:
  6. * Redistributions of source code must retain the above copyright notice, this list of conditions and the following
  7. * disclaimer.
  8. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following
  9. * disclaimer in the documentation and/or other materials provided with the distribution.
  10. * Neither the ..→
A Random PyMOL-generated Cover. See Covers.