11.07.2015 Views

VMD User's Guide

VMD User's Guide

VMD User's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

• index n: Returns the id of the n’th molecule.• molecule id get {list of keywords}• molecule id set {list of keywords} {list of values} Access and, in some cases, modify informationabout a given molecule. The list of recognized keywords is given in Table 8.3.Examples:vmd > molinfo top get numatoms568molinfo 0 get {filetype filename}pdb /home/dalke/pdb/bpti.pdbvmd > molinfo 0 get { {rep 0} {color 0} {rep 1} {color 1} }{VDW 1.000000 8.000000} {ColorID 5} Lines 1.0000 SegName8.3.22 mouseChange the current state (mode) of the mouse, optionally active TCL callbacks.• mode 0: Setmousemodetorotation.• mode 1: Setmousemodetotranslation.• mode 2: Setmousemodetoscaling.• mode 3 N: Set mouse mode to rotate light N.• mode 4 N: Set mouse mode to picking mode N, whereN is one of the following:– 0: query item– 1: pick center– 2: pick atom– 3: pick bond– 4: pick angle– 5: pick dihedral– 6: move atom– 7: move residue– 8: move fragment– 9: move molecule– 10: force on atom– 11: force on residue– 12: force on fragment• callback on/off: Turn the callbacks on or off. To use the callbacks, trace the variablevmd_pick_atom_silent. See below for information on tracing.111

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!