From: Bennion, Brian (Bennion1_at_llnl.gov)
Date: Thu Oct 24 2013 - 17:23:25 CDT

You need to treat sel as a variable!

From: owner-vmd-l_at_ks.uiuc.edu [mailto:owner-vmd-l_at_ks.uiuc.edu] On Behalf Of Rejwan
Sent: Thursday, October 24, 2013 1:49 PM
To: John Stone
Cc: vmd-l_at_ks.uiuc.edu; john.stone_at_gmail.com
Subject: vmd-l: writing PDB

I bit puzzled here. Not sure what I'm doing wrong in TK console in writepdb command.

>Main< (VMD) 10 % set sel [atomselect top "not (resname POPC)"]
atomselect2
>Main< (VMD) 11 % sel writepdb test.pdb
bad option "writepdb": must be clear, get, handle, or own
>Main< (VMD) 12 %

Rejwan