Skip to main content
added 87 characters in body
Source Link
Harry McKenzie
  • 14.5k
  • 11
  • 34
  • 74

Thanks to Ratt@Ratt for the solution:

adding thisAdding the following line of code to the forfor loop solved the issue bpy.context.view_layer.objects.active = x:

bpy.context.view_layer.objects.active = x

Thanks to Ratt for the solution:

adding this line of code to the for loop solved the issue bpy.context.view_layer.objects.active = x

Thanks to @Ratt for the solution:

Adding the following line of code to the for loop solved the issue:

bpy.context.view_layer.objects.active = x
Source Link

Thanks to Ratt for the solution:

adding this line of code to the for loop solved the issue bpy.context.view_layer.objects.active = x