From: John Stone (
Date: Wed Jan 24 2007 - 12:05:08 CST

  Please have a look at the VMD save state script (attached to this
email). It accesses the various viewing/orientation matrices, both
reading and writing, writes them to a saved state script file, and
generates the appropriate commands to restore them.

  John Stone

On Wed, Jan 24, 2007 at 10:49:28AM +0100, Jancsó István wrote:
> Hi all!
> I loaded two molecules for VMD, selected Mouse/Move/Molecule from menu,
> and moved molecules distinctly. But these commands:
> puts[molinfo 0 get {center_matrix rotate_matrix scale_matrix global_matrix}]
> puts[molinfo 1 get {center_matrix rotate_matrix scale_matrix global_matrix}]
> printed same matrices. This incident effects that I can't save positions
> of molecules to the session files.
> How can I change (or read correctly) these matrices...?
> Best regards
> Istvan

NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email:                 Phone: 217-244-3349
  WWW:      Fax: 217-244-6078