From: Maxim Belkin (mbelkin_at_ks.uiuc.edu)
Date: Fri May 08 2015 - 01:59:49 CDT

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!
>
>