1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
|
PyMOL>order does_not_exist
PyMOL>print cmd.get_names()
[]
PyMOL>order *
PyMOL>print cmd.get_names()
[]
PyMOL>order *,location=top
PyMOL>print cmd.get_names()
[]
PyMOL>order *,location=bottom
PyMOL>print cmd.get_names()
[]
PyMOL>order *,location=current
PyMOL>print cmd.get_names()
[]
PyMOL>load dat/pept.pdb
CmdLoad: "dat/pept.pdb" loaded as "pept".
PyMOL>order pept
PyMOL>print cmd.get_names()
['pept']
PyMOL>order *
PyMOL>print cmd.get_names()
['pept']
PyMOL>order *,location=top
PyMOL>print cmd.get_names()
['pept']
PyMOL>order *,location=bottom
PyMOL>print cmd.get_names()
['pept']
PyMOL>order *,location=current
PyMOL>print cmd.get_names()
['pept']
PyMOL>load dat/il2.pdb
CmdLoad: "dat/il2.pdb" loaded as "il2".
PyMOL>print cmd.get_names()
['pept', 'il2']
PyMOL>order *
PyMOL>print cmd.get_names()
['pept', 'il2']
PyMOL>order il2,location=current
PyMOL>print cmd.get_names()
['pept', 'il2']
PyMOL>order il2,location=top
PyMOL>print cmd.get_names()
['il2', 'pept']
PyMOL>order il2,location=bottom
PyMOL>print cmd.get_names()
['pept', 'il2']
PyMOL>order il2 pept
PyMOL>print cmd.get_names()
['il2', 'pept']
PyMOL>load dat/small01.mol
ExecutiveLoad: "dat/small01.mol" loaded as "small01", through state 1.
PyMOL>print cmd.get_names()
['il2', 'pept', 'small01']
PyMOL>order small01 pept
PyMOL>print cmd.get_names()
['il2', 'small01', 'pept']
PyMOL>order small01 pept il2
PyMOL>print cmd.get_names()
['small01', 'pept', 'il2']
PyMOL>order *
PyMOL>print cmd.get_names()
['small01', 'pept', 'il2']
PyMOL>create aaa,pept
Selector: found 107 atoms.
Executive: object "aaa" created.
PyMOL>order *,sort=1
PyMOL>print cmd.get_names()
['aaa', 'il2', 'pept', 'small01']
PyMOL>create zzz,pept
Selector: found 107 atoms.
Executive: object "zzz" created.
PyMOL>order *,sort=1
PyMOL>print cmd.get_names()
['aaa', 'il2', 'pept', 'small01', 'zzz']
PyMOL>create pept2, pept
Selector: found 107 atoms.
Executive: object "pept2" created.
PyMOL>create pept1, pept
Selector: found 107 atoms.
Executive: object "pept1" created.
PyMOL>order pept*
PyMOL>print cmd.get_names()
['aaa', 'il2', 'pept', 'pept2', 'pept1', 'small01', 'zzz']
PyMOL>order pept*,sort=1
PyMOL>print cmd.get_names()
['aaa', 'il2', 'pept', 'pept1', 'pept2', 'small01', 'zzz']
PyMOL>order pept*,location=top
PyMOL>print cmd.get_names()
['pept', 'pept1', 'pept2', 'aaa', 'il2', 'small01', 'zzz']
PyMOL>order pept*,location=bottom
PyMOL>print cmd.get_names()
['aaa', 'il2', 'small01', 'zzz', 'pept', 'pept1', 'pept2']
PyMOL>order aaa,location=bottom
PyMOL>order zzz,location=top
PyMOL>print cmd.get_names()
['zzz', 'il2', 'small01', 'pept', 'pept1', 'pept2', 'aaa']
|