1
$\begingroup$

When the Source vertex group named "ALL", How to change the value of the vertex group "ALL"?

enter image description here

When run bpy.context.object.modifiers["Data Transfer"].layers_vgroup_select_src = 'ALL', it set the value to All Layers, not the vertex group "ALL"

$\endgroup$
1
  • 1
    $\begingroup$ I think you have to rename the vertex group name for the source object. $\endgroup$
    – lemon
    Mar 18 at 18:37

1 Answer 1

1
$\begingroup$

The vertex group name can not conflict with the "All layers" value.

"All layers" value is "ALL".

So if the vertex group is also named "ALL", that can not work.

Simply rename the vertex group for the source object differently. For instance "All" (not "ALL").

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.