When the Source vertex group named "ALL", How to change the value of the vertex group "ALL"?
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"
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It only takes a minute to sign up.
Sign up to join this communityWhen the Source vertex group named "ALL", How to change the value of the vertex group "ALL"?
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"
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").