VMD-L Mailing List
From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Tue Aug 06 2013 - 06:09:49 CDT
- Next message: Vikas Varshney: "Re: Animations using VMD:"
- Previous message: Marc van der Kamp: "Re: Loading new molecule without changing view?"
- In reply to: Marc van der Kamp: "Loading new molecule without changing view?"
- Next in thread: Marc van der Kamp: "Re: Loading new molecule without changing view?"
- Reply: Marc van der Kamp: "Re: Loading new molecule without changing view?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
On Tue, Aug 6, 2013 at 11:49 AM, Marc van der Kamp
<marcvanderkamp_at_gmail.com> wrote:
> Dear all,
>
> I would like to load a new molecule but keep the exact same view
> (orientation, zoom level etc.) as present in the Display before
> loading a new molecule.
> In other words, I would like to turn-off the auto-'focussing' mode.
>
> Is this possible, and if so, how?
> (I couldn't find an answer to this in the manual or other online resources)
it should be possible with some scripting. you would need to store
away the various viewpoint parameters and then reapply them after
loading the molecule. please have a look at the "reload" function in
this (somewhat outdated) tutorial.
https://sites.google.com/site/akohlmey/redirect/cpmd-vmd.pdf?attredirects=0&d=1
this may be something that you could try to adapt for your purpose.
you may also want to look into the VMD script code produced by the
save state functionality, which has a similar component.
axel.
> Many thanks,
> Marc
-- Dr. Axel Kohlmeyer akohlmey_at_gmail.com http://goo.gl/1wk0 International Centre for Theoretical Physics, Trieste. Italy.
- Next message: Vikas Varshney: "Re: Animations using VMD:"
- Previous message: Marc van der Kamp: "Re: Loading new molecule without changing view?"
- In reply to: Marc van der Kamp: "Loading new molecule without changing view?"
- Next in thread: Marc van der Kamp: "Re: Loading new molecule without changing view?"
- Reply: Marc van der Kamp: "Re: Loading new molecule without changing view?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]