Looking for a script

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
Breinmeester
Posts: 303
Joined: Thu May 13, 2010 2:01 pm

Looking for a script

Post 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!
User avatar
Víctor Paredes
Site Admin
Posts: 5664
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Re: Looking for a script

Post by Víctor Paredes »

Fazek's replace line tool:
viewtopic.php?f=12&t=3507
Image Image Image Image
Moho Product Manager

www.mohoanimation.com
Rigged animation supervisor in My father's dragon - Lead Moho artist in Wolfwalkers - Cartoon Saloon - My personal Youtube Channel
Breinmeester
Posts: 303
Joined: Thu May 13, 2010 2:01 pm

Re: Looking for a script

Post 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!!!
Breinmeester
Posts: 303
Joined: Thu May 13, 2010 2:01 pm

Re: Looking for a script

Post 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!!!
Post Reply