Order: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 6: | Line 6: | ||
====EXAMPLES==== | ====EXAMPLES==== | ||
<source lang="python"> | |||
# sets the order of these three objects | |||
order 1dn2 1fgh 1rnd | |||
# sorts all names | |||
order *,yes | |||
# sorts all names beginning with 1dn2_ | |||
order 1dn2_*, yes | |||
# puts 1frg at the top of the list | |||
order 1frg, location=top | |||
</source> | |||
===PYMOL API=== | ===PYMOL API=== |
Revision as of 01:12, 24 February 2007
DESCRIPTION
order allows you to change ordering of names in the control panel
USAGE
order names-list, sort, location
EXAMPLES
# sets the order of these three objects
order 1dn2 1fgh 1rnd
# sorts all names
order *,yes
# sorts all names beginning with 1dn2_
order 1dn2_*, yes
# puts 1frg at the top of the list
order 1frg, location=top
PYMOL API
cmd.order(string names-list, string sort, string location)
NOTES
- names-list: a space separated list of names
- sort: yes or no
- location: top, current, or bottom