Hello,
Just remove the following from the script, since it is, apparently,
obsolete:
if int(move):
cmd.alter_state(1, selection, "(x,y,z)=sub((x,y,z), centroid)",
space={'centroid': centroid, 'sub': cpv.sub})
Or just download again the script, they already
Hi Smith,
There was an error in script, incidentally, I introduce the error, but now
is fixed. Please download again the centroid.py script.
Cheers,
Osvaldo.
On Fri, Nov 20, 2015 at 3:00 AM, Smith Liu wrote:
> Dear All,
>
> When I run the centroid.py, I have the following error message:
> "Nam
Dear All,
When I run the centroid.py, I have the following error message: "NameError:
global name 'move' is not defined". My centroid.py script downloaded (have I
misdone or miseddited something?) is as following. Will you please tell me how
to solve the error message issue?
Smith
---
Se