Difference between revisions of "Select"

From PyMOLWiki
Jump to: navigation, search
 
m
Line 1: Line 1:
===DESCRIPTION===
+
===DESCRIPTION===  
+
"select" creates a named selection from an atom selection.
  "select" creates a named selection from an atom selection.
 
 
   
 
   
 
===USAGE===
 
===USAGE===
   
+
  select (selection)
  select (selection)
+
select name, (selection)
  select name, (selection)
+
select name = (selection)            # (DEPRECATED)
  select name = (selection)            # (DEPRECATED)
+
 
 
 
===PYMOL API===
 
===PYMOL API===
 
  <source lang="python">
 
  <source lang="python">
  cmd.select(string name, string selection)
+
cmd.select(string name, string selection)
 
  </source>  
 
  </source>  
  
 
===EXAMPLES===
 
===EXAMPLES===
   
+
  select near , (ll expand 8)
  select near , (ll expand 8)
+
select near , (ll expand 8)
  select near , (ll expand 8)
+
select bb, (name ca,n,c,o )
  select bb, (name ca,n,c,o )
+
 
 
 
===NOTES===
 
===NOTES===
   
+
  'help selections' for more information about selections.  
  'help selections' for more information about selections.  
 
  
 
[[Category:Commands|select]]
 
[[Category:Commands|select]]

Revision as of 23:11, 28 April 2005

DESCRIPTION

"select" creates a named selection from an atom selection.

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 )

NOTES

'help selections' for more information about selections.