From: John Stone (johns_at_ks.uiuc.edu)
Date: Wed Dec 02 2009 - 17:35:04 CST

Hi,
  Most likely the contents of $pos1 and $pos2 are incorrectly formatted,
and you didn't set the material properly:

Try this:
  set pos1 { 0 0 0 }
  set pos2 { 1 1 1 }
  draw material Transparent
  draw color silver
  draw cylinder $pos1 $pos2 radius 0.3

Cheers,
  John Stone
  vmd_at_ks.uiuc.edu

On Wed, Dec 02, 2009 at 03:29:24PM -0800, rainy908_at_yahoo.com wrote:
> Hi,
>
> I apologize if this question has been asked previously, but I am curious
> to know if there is a way to draw a silver-colored cylinder in VMD? My
> TCL script so far includes:
>
> material Transparent
> draw color silver
> draw cylinder $pos1 $pos2 radius 0.3
>
> However, my commands only result in an error with no cylinder
> (representing a bond between 2 beads) drawn.
> If anybody has any knowledge on this issue, I would be most appreciative
> of your help.
>
> Thank you,
> rainy908

-- 
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