VMD-L Mailing List
From: Jeffrey A Tibbitt (jtibbitt_at_hawaii.edu)
Date: Thu Mar 29 2018 - 01:43:43 CDT
- Next message: Jeffrey A Tibbitt: "Re: Is there a way to create atom selection for a list of atom indices?"
- Previous message: Monika Madhavi: "Re: Is there a way to create atom selection for a list of atom indices?"
- Next in thread: Monika Madhavi: "Re: Is there a way to create atom selection for a list of atom indices?"
- Reply: Monika Madhavi: "Re: Is there a way to create atom selection for a list of atom indices?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi, is there a way to create an atom selection for a list of atom indices?
I'm trying to do something like the following:
set atomlist {1 3 7 11} ;# Atoms 1, 3,
7 and 11
set sel [atomselect top "index $atomlist"] ;# Create selection
containing those atoms
-- *Jeffrey A Tibbitt* Lecturer of Chemistry University of Hawai'i - Maui College
- Next message: Jeffrey A Tibbitt: "Re: Is there a way to create atom selection for a list of atom indices?"
- Previous message: Monika Madhavi: "Re: Is there a way to create atom selection for a list of atom indices?"
- Next in thread: Monika Madhavi: "Re: Is there a way to create atom selection for a list of atom indices?"
- Reply: Monika Madhavi: "Re: Is there a way to create atom selection for a list of atom indices?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]