VMD-L Mailing List
From: Maxim Belkin (mbelkin_at_ks.uiuc.edu)
Date: Fri May 08 2015 - 01:59:49 CDT
- Next message: Axel Kohlmeyer: "School on Molecular Dynamics and Enhanced Sampling Methods @ Temple University July 6-10, 2015"
- Previous message: karthik kumar: "Re: how to set the coordinates of carbon nanotube?"
- In reply to: : "how to set the coordinates of carbon nanotube?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
set sel [atomselect top all]; # replace “all” with the selection of your nanotube
$sel moveby [vecinvert [measure center $sel]]
$sel writepdb output.pdb
Maxim
> On May 8, 2015, at 01:30, 丁晗 <dingh09_at_163.com> wrote:
>
> Hi,
> I have create a carbon nanotube with VMD molefacture. I want to set the coordinates of its center as (0,0,0). Is there any way to do so?
> Thank you!
>
>
- Next message: Axel Kohlmeyer: "School on Molecular Dynamics and Enhanced Sampling Methods @ Temple University July 6-10, 2015"
- Previous message: karthik kumar: "Re: how to set the coordinates of carbon nanotube?"
- In reply to: : "how to set the coordinates of carbon nanotube?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]