From: Jian Zou (zouj01_at_mails.tsinghua.edu.cn)
Date: Wed May 24 2006 - 20:44:06 CDT

Hi John,

Thank you so much for the quick reply.

Now it works!

I forgot to add {} or "" around the representation string before.

Regards,

Jian Zou

----- Original Message -----
From: "John Stone" <johns_at_ks.uiuc.edu>
To: "Jian Zou" <zouj01_at_mails.tsinghua.edu.cn>
Cc: "VMD Mailing List" <vmd-l_at_ks.uiuc.edu>
Sent: Thursday, May 25, 2006 05:28
Subject: Re: vmd-l: change default drawing and coloring method

Hi,
Here's an example of how you'd use it in your .vmdrc file:
  mol default color {colorID 5}
  mol default style {NewCartoon 0.300000 6.000000 4.100000 0}
  mol default selection {name CA}
  mol default material {Transparent}

Enjoy,
  John Stone
  vmd_at_ks.uiuc.edu

On Wed, May 24, 2006 at 11:16:49AM +0800, Jian Zou wrote:
> Hi,
>
> > as of version 1.8.4 VMD supports a 'mol default' command,
> > so that you can change default visualization properties
> > in your .vmdrc file.
>
> Is there any example showing how to use 'mol default'?
>
> I am confused by the command line help which says
>
> default [color | style | selection | material] <value>
> representation|rep
> <style>
> -- set the drawing style for new reps
>
> Thanks a lot in advance.
>
>
> Regards,
>
> Jian Zou

-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email: johns_at_ks.uiuc.edu                 Phone: 217-244-3349
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078