Line style script request

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

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
xothermik
Posts: 109
Joined: Fri Nov 13, 2009 12:22 am
Location: abuja, nigeria
Contact:

Line style script request

Post by xothermik »

Hi guys, excuse me if im posting in the worng place but i need some help. for just over a week ive been trying to get into scripting for a an idea i have with no headway.

i am trying to make a script to allow me create a style in moho specifically for use as a source of line style for the scene. trying to use the line boil feature for already prepared scene and characters. would be prett difficult to go through all the layers to apply the line boil style as there are up to 30 characters rigged.

i want to create a style with the line boil and for a script to copy a specif named style to apply to all the vector shapes in a folder whilst keeping the fills and applying just the line style.

i started with trying to do it with the vector interval settings but decided a line style with line boil and interval looks better when set to your liking.

i cold settle for the apply sketchy effect if only i could find a way to make the interval for the vectors set at 0 as i managed to modify the script to tweak other variables and even tried adding vectorLayer.fNoiseInterval = 0; line to the script but its somehow not working

so basically i want a scrip that copies a line style to all vectors in a folder without the fills

if thats not possible i can settle with any help to be able to apply a vector noise interval set at 0 to all vector layers in a group

any help will be immenseley appreciated
Post Reply