From: Justin Gullingsrud (
Date: Fri Aug 23 2002 - 09:49:03 CDT


Try putting this code snippet into your .vmdrc file:

        proc structure { mol seltext ss } {
                  set sel [atomselect $mol $seltext]
                  $sel set structure $ss

This was a convenience function which somehow got eliminated between 1997
and today. Give that a try and let us know how it goes.


On Fri, Aug 23, 2002 at 04:18:52PM +0200, Mark Hilge wrote:
> Hi!
> I just started to play a little bit with VMD 1.8a21 (SGI 64-bit). So far
> I couldn't find out how I can change the secondary structure elements
> detected by VMD (or Stride). Is there an easy way to do this? In the
> mail archive I saw a VMDTECH report dated back to 1997. Is this still
> this only way?
> When I type "structure top {resid 383 to 390} helix" in the vmd console
> it always complains: invalid command name "structure".
> Maybe there is a problem with our tctkl installation on our SGI ...
> Could anybody tell me what I'm doing wrong or how I can resolve this
> problem?
> Many thanks in advance!
> Cheers,
> Mark

  Justin Gullingsrud        3111 Beckman Institute        217-244-8946
  I been dropping the new science, and I be kicking the new knowledge,
  and I'm seeing to a degree that you can't get in college.  -- b.boys