VMD-L Mailing List
From: surya narayanan chandrasekaran (sonofsunsurya_at_gmail.com)
Date: Thu Jul 11 2019 - 05:36:07 CDT
- Next message: Joao Ribeiro: "Re: vmd moveby command inside loop"
- Previous message: Joao Ribeiro: "New version of Molefacture -small molecule modeling tool- posted"
- Next in thread: Giacomo Fiorin: "Re: vmd moveby command inside loop"
- Reply: Giacomo Fiorin: "Re: vmd moveby command inside loop"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
I was trying a simple for loop inside my script that need to give
variable to move command.
for {set x 17.1} {$x > 8} {incr x - 1} {
$sel moveby {0 0 $x}
$sel1 writexyz Sep_$x.xyz
}
But I am getting error. "atomselection moveby: translation vector can only
be of length 3" or
"atomselect moveby: non-numeric in vector"
I tried "$x", puts, [expr $x]
-- Warm regards, Surya
- Next message: Joao Ribeiro: "Re: vmd moveby command inside loop"
- Previous message: Joao Ribeiro: "New version of Molefacture -small molecule modeling tool- posted"
- Next in thread: Giacomo Fiorin: "Re: vmd moveby command inside loop"
- Reply: Giacomo Fiorin: "Re: vmd moveby command inside loop"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]