From: karthik kumar (karthik3327_at_gmail.com)
Date: Fri May 08 2015 - 02:02:15 CDT

Hi,

use the below script

************************************************
pbc set { 500 500 500 }

pbc box -center origin

set all [ atomselect top all ]

set com [ measure center $all]

set move [ vecscale -1 $com ]

$all moveby $move

***************************************

Regards,
Karteek,
JNCASR, INDIA

On Fri, May 8, 2015 at 12:00 PM, 丁晗 <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!
>
>
>