From: Tristan Croll (
Date: Wed Nov 04 2015 - 05:38:44 CST

Just remove the third and fifth lines, and your code should do what you want.

Tristan Croll
Faculty of Health
School of Biomedical Sciences
Institute of Health and Biomedical Engineering
Queensland University of Technology
60 Musk Ave
Kelvin Grove QLD 4059 Australia
+61 7 3138 6443
This email and its attachments (if any) contain confidential information intended for use by the addressee and may be privileged. We do not waive any confidentiality, privilege or copyright associated with the email or the attachments. If you are not the intended addressee, you must not use, transmit, disclose or copy the email or any attachments. If you receive this email by mistake, please notify the sender immediately and delete the original email.

> On 4 Nov 2015, at 9:22 pm, Sourav Ray <> wrote:
> Greetings
> I tried using geom_center to do that, but running the tcl or even proc directly with the selection of atoms (as input) is not working. " invalid command name 'geom_center'.
> Also tried to shift the geometric center using the code below, but move command is displaying error as "invalid command name <current geometric center>"
> set sel [atomselect top all]
> set gec [measure center $sel]
> $gec moveto {0 0 0}
> $sel moveby [vecscale -1.0 $gec]
> $sel moveby $gec
> Thanks and regards
> Sourav Ray