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();
}

Download LScript

  • Print
  • PDF
  • Twitter
  • Digg
  • Yahoo! Buzz
  • StumbleUpon
  • Reddit
  • Facebook
  • Technorati
  • del.icio.us
  • Mixx
  • NewsVine
  • Slashdot
  • LinkedIn

Leave a Reply

Product Categories
Your Shopping Cart

Your cart is empty.

Lets Be Social