This is a read-only mirror of pymolwiki.org
Difference between revisions of "Select"
Jump to navigation
Jump to search
m |
|||
Line 16: | Line 16: | ||
select near , (ll expand 8) | select near , (ll expand 8) | ||
select bb, (name ca,n,c,o ) | select bb, (name ca,n,c,o ) | ||
+ | <source lang="python"> | ||
+ | cmd.select("%s_%s"%(prefix,stretch), "none") | ||
+ | </source> | ||
===NOTES=== | ===NOTES=== |
Revision as of 14:28, 29 June 2009
DESCRIPTION
select creates a named selection from an atom selection. Selections are one of the most powerful aspects of PyMOL and learning to use selections well is paramount to quickly achieving your goals in PyMOL.
USAGE
select (selection) select name, (selection) select name = (selection) # (DEPRECATED)
PYMOL API
cmd.select(string name, string selection)
EXAMPLES
select near , (ll expand 8) select near , (ll expand 8) select bb, (name ca,n,c,o )
cmd.select("%s_%s"%(prefix,stretch), "none")
NOTES
Type help selections for more information about selections.