Script not working in V8

I am using the attached script by Clement Greiner to numerize the vertices of a mesh.
Since switching to rhino 8 the script is not longer working, instead I get this error message.
Any ideas how to fix this? Thanks in advance.

NumerizeMeshVerts.py (441 Bytes)

Why Rhino version are you using? I am assuming you are running the script using RunPythonScript command?

I am using Rhino Version 8 SR2 (8.2.23346.13001, 2023-12-12)

I run the command by clicking a button. This runs:
_NoEcho ! _-RunPythonScript “C:\Program Files\Rhino 6\Scripts\NumerizeMeshVerts.py”

Would you mind updating to the latest SR7? There has been lots of improvements and bug fixes since then

regarding the mess my last update caused to my workspace, i would like to postpone this. at the moment i am stuck in the middle of a lot of work.

i copied the “NumerizeMeshVerts.py”
from
“C:\Program Files\Rhino 6\Scripts”
to
“C:\Program Files\Rhino 8\Scripts”

and set the command
from
"_NoEcho ! _-RunPythonScript “C:\Program Files\Rhino 6\Scripts\NumerizeMeshVerts.py”
to
"_NoEcho ! _-RunPythonScript “C:\Program Files\Rhino 8\Scripts\NumerizeMeshVerts.py”

this seemingly fixed it.

1 Like