Set 100% to weight map

Home/Computer Graphics/Set 100% to weight map

Set 100% to weight map

This is a really simple script, the only thing it does is to set the weight of the currently selected points to 100%.

main {
selmode(DIRECT);
editbegin();
vmap = VMap(VMWEIGHT,0) || error(“Please select a weight map first.”);
foreach(sp, points) {
vmap.setValue(sp, 1.0);
}
editend();
}

http://vimeo.com/moogaloop.swf?clip_id=8276292&server=vimeo.com&show_title=0&show_byline=0&show_portrait=0&color=ff9933&fullscreen=1

Download LScript

By | 2009-12-19T15:44:31+00:00 December 19th, 2009|Computer Graphics|0 Comments

About the Author:

Leave A Comment