From: Eduard Schreiner (eduard.schreiner_at_rub.de)
Date: Fri Jan 26 2007 - 10:13:27 CST

Hey Himanshu ,

try

set temp [atomselect top "name \"C\.\*\""]

i.e. you must mask the quotes also

eddi

On Friday 26 January 2007 12:47, Himanshu Khandelia wrote:
> This might be a very elementary question.
>
> In the Tkconsole, I am not being able to use wildcards in the atomselect
> facility. The following do not work:
>
> # To select atom names starting with the letter C,
> set temp [atomselect top "name "C.*""]
> set temp [atomselect top "name \"C.*\""]
> set temp [atomselect top "name 'C.*'"]
> set temp [atomselect top "name "C*""]
>
>
> What is way around this ?
>

-- 
--
=============================================================================
Eduard Schreiner                     e-mail: eduard.schreiner_at_theochem.rub.de
Lehrstuhl fuer Theoretische Chemie          Phone: ++49 (0)234/32-22121
Ruhr-Universitaet Bochum - NC 03/52         Fax:   ++49 (0)234/32-14045
D-44780 Bochum                              http://www.theochem.rub.de
=============================================================================