I would like to add vertices in a vertex group with a weight already set by python.

For example a button that set weight force to the selected vertices to 0.5:

row.operator ("object.vertex_group_assign", text=" 0.5")

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.