From: Peter Freddolino (petefred_at_ks.uiuc.edu)
Date: Tue Nov 25 2008 - 18:23:12 CST

You could just add a bond between those two atoms and then show the
lines representation; see the getbonds and setbonds command under atom
selections.
Best,
Peter

Ryan Pavlovicz wrote:
> Hi. I see that you can draw a line in VMD between two sets of
> coordinates with tcl scripting:
>
> draw line {0 0 0} {0 2 0} style dashed
>
>
> Because this command draws a line between two static points, the line will obviously be static.
>
>
> I am wondering if a line can be drawn between two atoms instead two points, so that the line can be updated to move with the atoms in a MD trajectory.
> I suppose this would work like the hydrogen bond representation. Thanks for your help,
>
>
> ryan
>