VMD-L Mailing List
From: Ashar Malik (asharjm_at_gmail.com)
Date: Thu Dec 11 2014 - 18:01:48 CST
- Next message: Jun-Chieh Wang: "format I should use if I have different total number of atoms for each timesteps"
- Previous message: Eric Smoll: "tcl and vmd"
- In reply to: Eric Smoll: "tcl and vmd"
- Next in thread: Axel Kohlmeyer: "Re: tcl and vmd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Depends how you do it. When a molecule is loaded its assigned an ID. You
could also pass the "top" to the atomselect, depends on what you have.
Also to directly answer your question ... When you load it, it becomes
available, as long as its loaded in the visualizer. You have to make a call
to in your script.
E.g.
atomselect top all
Will select everything in your molecule.
Hope this answers your question.
Best,
/A
On Dec 12, 2014 12:06 PM, "Eric Smoll" <ericsmoll_at_gmail.com> wrote:
> Hello vmd users,
>
> When a file is loaded with "mol new $filename" in a tcl script, is this
> molecule visible to atomselect expressions in a procedure? If not, what is
> the recommended way to "pass" or "make visible" the molecule in the local
> scope of a function?
>
> Best,
> Eric
>
- Next message: Jun-Chieh Wang: "format I should use if I have different total number of atoms for each timesteps"
- Previous message: Eric Smoll: "tcl and vmd"
- In reply to: Eric Smoll: "tcl and vmd"
- Next in thread: Axel Kohlmeyer: "Re: tcl and vmd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]