VMD-L Mailing List
From: Axel Kohlmeyer (akohlmey_at_cmm.chem.upenn.edu)
Date: Fri May 22 2009 - 17:09:08 CDT
- Next message: DimitryASuplatov: "Operations with MD frames - acquiring time infromation"
- Previous message: Alberto Sergio Garay: "Question3 about introducing variables in "mol selection...""
- In reply to: Alberto Sergio Garay: "Question3 about introducing variables in "mol selection...""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
On Fri, 2009-05-22 at 18:47 -0300, Alberto Sergio Garay wrote:
> Dear Axel
> First, I want to apology for the poor description of my problem.
ok.
nevertheless, i guessed correctly in my previous mail.
you cannot refer to selection functions in another selection.
the selection takes a selection string. you can use the two
methods i outlined before or do:
mol selection "[$sel text]"
cheers,
axel.
>
> In order to check the command I run in tcl/tk terminal:
>
> 1) mol delrep 0 top
> 2) set sel [atomselect top "resid 49"]
> I want to see only my selection.
> 3) I have tried the command below:
> a)mol selection $sel
> b)mol selection { $sel }
> c)mol selection {"$sel"}
> d)mol selection {'$sel'}
> e)mol selection "$sel"
> f)mol selection '$sel'
> 4) mol addrep top
> 5) for a) it is added a representation of "all" system
> for b) it is added a representation of "all" system
> for c) it is added a representation of "all" system
> for d) it is added a representation of "all" system
> for e) it is added a representation of "all" system
> for f) it is added a representation of "all" system
>
> Thank you for your fast answer.
>
> Sergio
>
-- ======================================================================= Axel Kohlmeyer akohlmey_at_cmm.chem.upenn.edu http://www.cmm.upenn.edu Center for Molecular Modeling -- University of Pennsylvania Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323 tel: 1-215-898-1582, fax: 1-215-573-6233, office-tel: 1-215-898-5425 ======================================================================= If you make something idiot-proof, the universe creates a better idiot.
- Next message: DimitryASuplatov: "Operations with MD frames - acquiring time infromation"
- Previous message: Alberto Sergio Garay: "Question3 about introducing variables in "mol selection...""
- In reply to: Alberto Sergio Garay: "Question3 about introducing variables in "mol selection...""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]