Page 1 of 1

Looking for a script

Posted: Mon Nov 26, 2012 2:45 am
by Breinmeester
I'm looking for a user script that was once posted here that allows you to select a number of points, draw a line and it will place the selected points cleverly along the drawn line.
Anybody knows where i can find it? Thanks!

Re: Looking for a script

Posted: Mon Nov 26, 2012 4:49 am
by VĂ­ctor Paredes
Fazek's replace line tool:
viewtopic.php?f=12&t=3507

Re: Looking for a script

Posted: Mon Nov 26, 2012 5:06 am
by Breinmeester
Hey thanks! That's exactly it!

It does give me an error though:
line 210: attempt to call method 'Refresh' (a nill value)

Anyone knows how to fix that?

Awesome script!!!

Re: Looking for a script

Posted: Mon Nov 26, 2012 5:22 am
by Breinmeester
Ok, i fixed it myself.

I changed line 210 from:

Code: Select all

mouseEvent.view:Refresh()
to

Code: Select all

mouseEvent.view:RefreshView()
Now it draws a preview correctly.

Again, awesome script!!!