Difference between revisions of "Order"

From PyMOLWiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
===DESCRIPTION===
 
===DESCRIPTION===
+
'''order''' allows you to change ordering of names in the control panel  
  "order" allows you to change ordering of names in the control panel
+
 
 
 
===USAGE===
 
===USAGE===
   
+
  order names-list, sort, location
  order names-list, sort, location
+
 
 
 
====EXAMPLES====
 
====EXAMPLES====
   
+
  order 1dn2 1fgh 1rnd  # sets the order of these three objects
  order 1dn2 1fgh 1rnd  # sets the order of these three objects
+
order *,yes          # sorts all names
  order *,yes          # sorts all names
+
order 1dn2_*, yes    # sorts all names beginning with 1dn2_
  order 1dn2_*, yes    # sorts all names beginning with 1dn2_
+
order 1frg, location=top  # puts 1frg at the top of the list
  order 1frg, location=top  # puts 1frg at the top of the list
+
 
 
 
===PYMOL API===
 
===PYMOL API===
<source lang="python">
+
<source lang="python">
  cmd.order(string names-list, string sort, string location)
+
cmd.order(string names-list, string sort, string location)
</source>
+
</source>
  
 
===NOTES===
 
===NOTES===
+
# names-list: a space separated list of names
  names-list: a space separated list of names
+
# sort: yes or no
  sort: yes or no
+
# location: top, current, or bottom
  location: top, current, or bottom
+
 
 
 
===SEE ALSO===
 
===SEE ALSO===
+
[[Cmd set_name]]
  [[Cmd set_name]]
 
  
 
[[Category:Commands|order]]
 
[[Category:Commands|order]]

Revision as of 13:03, 29 June 2005

DESCRIPTION

order allows you to change ordering of names in the control panel

USAGE

order names-list, sort, location

EXAMPLES

order 1dn2 1fgh 1rnd  # sets the order of these three objects
order *,yes           # sorts all names
order 1dn2_*, yes     # sorts all names beginning with 1dn2_
order 1frg, location=top   # puts 1frg at the top of the list

PYMOL API

cmd.order(string names-list, string sort, string location)

NOTES

  1. names-list: a space separated list of names
  2. sort: yes or no
  3. location: top, current, or bottom

SEE ALSO

Cmd set_name