Error updating Python script

When placing the small code in the new version of Python script and with the same configuration of the input variables shows an error? what is the problem?

MultipleAttractors Fajas.gh (28.6 KB)

away from my workstation, but I would probably try to set your Pi and Pd inputs to list access.

Hi Chris again!

The entrances of Pd and Pi are of type “Point3d” to that you mean?

2018-12-14%2011_22_42-Error%20updating%20Python%20script%20-%20Grasshopper%20-%20McNeel%20Forum

Yes! thank you very much Anders and Chris

Using Rhino 6 this problem appears with phython.
Any solution?

MultipleAttractors Fajas.gh (24.9 KB)