From: John Stone (johns_at_ks.uiuc.edu)
Date: Wed Jan 24 2007 - 12:05:08 CST

Hi,
  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.

Cheers,
  John Stone
  vmd_at_ks.uiuc.edu

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: johns_at_ks.uiuc.edu                 Phone: 217-244-3349
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078