Python scripts not working

Hi,
v5
@pascal
@Helvetosaur
Pythons Scripts not working by Paxcal and Helvetosaur.
I have three buttons that run Python Scripts, all seem inoperable.

My Python Script created by Pascal, created as a toolbar button in v5 no longer works in v5.

_-RunPythonScript “D:\RHINO 3D WORK AND ASSOC FILES\Plug-ins and Scripts\AverageCurves by Pascal\AverageCurves.py”
attached.


AverageCurves.py (2.2 KB)
I select the lines click the button and nothing happens.

also another fails. one by Helvetosaur.
_-RunPythonScript “D:\RHINO 3D WORK AND ASSOC FILES\Plug-ins and Scripts\split curves by view for V5 by Helvetosaur\SplitCrvsByViewNormal.py”

SplitCrvsByViewNormal.py (2.0 KB)

for either, if I click the button that runs it, it doesnt ask for selection of the curves, think it used to, as per normal commands. you see the command flash and go in the upper window.

I create a new file and still same issue.

I might even have all my three buttons not working, the third by Pascal is called 'AverageLinessByEndPoints:-
Hi Steve I do not have your file, so hard to tell but a better way to average the lines might be to average the end points -
AverageLinesByEndPoints.py (1.2 KB)
again I run it and nothing happens, not asked to do anything, selected lines then ran it and nothing happens.

Steve

Hello- please check the paths in the macros - these are not the paths to the file locations.

-Pascal

For Python scripts, in the editor (_EditPythonScript), set a path to where you have your script files stored.

Hi,
Thats it, thank you. It was on my D drive, but D is unplugged, so set to O, the backup and it now works, they all do

Steve