Select: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
===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.
'''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.



Revision as of 13:48, 17 November 2009

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.

SEE ALSO