VMD-L Mailing List
From: Marc van der Kamp (marcvanderkamp_at_gmail.com)
Date: Tue Aug 06 2013 - 06:24:24 CDT
- Next message: Axel Kohlmeyer: "Re: Loading new molecule without changing view?"
- Previous message: Axel Kohlmeyer: "Re: extracting grid points from an isosurface"
- In reply to: Axel Kohlmeyer: "Re: Loading new molecule without changing view?"
- Next in thread: Axel Kohlmeyer: "Re: Loading new molecule without changing view?"
- Reply: Axel Kohlmeyer: "Re: Loading new molecule without changing view?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Thanks for the reply Axel, and for pointing out some options.
I probably won't go the scripting/coding route - I was mostly looking
for this option to save some time (e.g. for making figures).
It is a pity there isn't a (built-in) easier option to do this, as it
is essentially asking the program *not* to do something... Perhaps it
could be added as an option to the "mol load" command?
Thanks,
Marc
On 6 August 2013 12:09, Axel Kohlmeyer <akohlmey_at_gmail.com> wrote:
> 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: Axel Kohlmeyer: "Re: Loading new molecule without changing view?"
- Previous message: Axel Kohlmeyer: "Re: extracting grid points from an isosurface"
- In reply to: Axel Kohlmeyer: "Re: Loading new molecule without changing view?"
- Next in thread: Axel Kohlmeyer: "Re: Loading new molecule without changing view?"
- Reply: Axel Kohlmeyer: "Re: Loading new molecule without changing view?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]