VMD-L Mailing List
From: JC Gumbart (gumbart_at_ks.uiuc.edu)
Date: Wed Oct 05 2005 - 13:38:59 CDT
- Next message: John Stone: "Re: changing cpk shere scale in TCL"
- Previous message: pascal.baillod_at_epfl.ch: "TCL: centering molecule into middle of display after translation"
- In reply to: pascal.baillod_at_epfl.ch: "changing cpk shere scale in TCL"
- Next in thread: John Stone: "Re: changing cpk shere scale in TCL"
- Reply: John Stone: "Re: changing cpk shere scale in TCL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
You can do it like this: mol modstyle rep_number mol_number CPK
sphere_scale bond_radius sphere_resolution bond_resolution
an example would be "mol modstyle 3 0 CPK 1 .3 8 6" (for the default, I
believe, assuming this is rep 3).
Another nice trick to figure out how commands in the GUI correspond to
tcl commands is to type in the console "log ____" which can be directed
to a file (or /dev/tty/ in linux at least for console output).
On Oct 5, 2005, at 12:07 PM, pascal.baillod_at_epfl.ch wrote:
> Dear community,
>
> I would like to know the tcl syntax to create different cpk
> representations, of
> which I would change the so called "sphere scale" that can be accessed
> in the
> "graphical representations" GUI. So far I use
>
> mol representation cpk
> ..after which I add my atom selections.
>
> Thank you very much for any help!
>
> Pascal
>
>
>
> ***********************************************************************
> ********
> Pascal Baillod (PhD student)
> ***********************************************************************
> ********
> Swiss Federal Institute of Technology EPFL Tel:
> +41-(0)21-693-0322
> Institute of Chemical Sciences and Engineering , Fax:
> +41-(0)21-693-0320
> Laboratory of Computational Chemistry and
> Biochemistry pascal.baillod_at_epfl.ch
> Room BCH 4121, Avenue Forel,
> http://lcbcpc21.epfl.ch
> CH-1015 Lausanne
> ***********************************************************************
> ********
>
- Next message: John Stone: "Re: changing cpk shere scale in TCL"
- Previous message: pascal.baillod_at_epfl.ch: "TCL: centering molecule into middle of display after translation"
- In reply to: pascal.baillod_at_epfl.ch: "changing cpk shere scale in TCL"
- Next in thread: John Stone: "Re: changing cpk shere scale in TCL"
- Reply: John Stone: "Re: changing cpk shere scale in TCL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]