VMD-L Mailing List
From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Wed Jun 05 2013 - 03:14:02 CDT
- Next message: Ali Alizadeh: "Dihedrals"
- Previous message: amit kunte: "Change atom color dynamically."
- In reply to: amit kunte: "Change atom color dynamically."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
On Wed, Jun 5, 2013 at 9:12 AM, amit kunte <amit7kunte_at_gmail.com> wrote:
> Hi
> I have been trying for some time to dynamically change the color of
> atoms of my granular simulation each timestep.
> To this end, I am attempting to change the environment variable
> LAMMPSREMAPFIELDS and the tcl command is as follows:
> global env
> set env(LAMMPSREMAPFIELDS) {vx=type}
> Error:can't read "env(LAMMPSREMAPFIELDS){vx=type}": no such variable
>
> Type of the atoms changes every frame and it should be reflected as a change
> in the color in the VMD animation. As of now I am left with the same color
> of atoms as was in the first frame.
> Please tell me a way to make VMD reflect such changes during a trajectory.
just enter the command in correct Tcl syntax and it will work. the
error message tells you that you didn't do it correctly, probably due
to missing spaces.
axel.
>
> Best Regards
> Amit
>
-- Dr. Axel Kohlmeyer akohlmey_at_gmail.com http://goo.gl/1wk0 International Centre for Theoretical Physics, Trieste. Italy.
- Next message: Ali Alizadeh: "Dihedrals"
- Previous message: amit kunte: "Change atom color dynamically."
- In reply to: amit kunte: "Change atom color dynamically."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]