From: Peter Freddolino (petefred_at_ks.uiuc.edu)
Date: Wed Nov 19 2008 - 12:16:07 CST

The answer to such a question is always accessible by typing
logfile console
in your tkcon or vmd terminal, and then doing what you want in the gui;
the associated commands will be printed. You can turn the logging back
off with
logfile off.

In your case, you'll need to use mol modcolor to do what you need.

Best,
Peter

David Tanner wrote:
> I am creating graphical representations in Tcl using:
>
> mol representation "VDW"
> mol color "Name"
> mol selection "protein"
> mol addrep 0
>
> While the above works just fine, I cannot seem to color a
> representation using a single color such as:
>
> mol color "ColorID"
> mol color "Red"
> mol color 1
> mol color "Color:Red"
>
> These don't work, but is there a way of doing this (in Tcl)?
>
> Thank you,
> David E. Tanner
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> David E. Tanner
> Theoretical and Computational Biophysics Group
> 3159 Beckman Institute
> University of Illinois at Urbana-Champaign
> 405 N. Mathews
> Urbana, IL 61801
> (217) 244 - 2905
> dtanner_at_ks.uiuc.edu <mailto:dtanner_at_ks.uiuc.edu>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>