Skip to main content
2 of 2
replaced http://blender.stackexchange.com/ with https://blender.stackexchange.com/

Searching the error message in the source code shows 3 occurances, it appears that the "Copy Modifiers" operator is only available for some freestyle settings.

blender-2.69\source\blender\editors\render\render_shading.c
            BKE_report(op->reports, RPT_ERROR, "The object the data pointer refers to is not a valid modifier");
            BKE_report(op->reports, RPT_ERROR, "The object the data pointer refers to is not a valid modifier");
            BKE_report(op->reports, RPT_ERROR, "The object the data pointer refers to is not a valid modifier");

As described here Add the Same Modifier to Multiple Objects at Once? you could link the modifiers using Ctrl-L (Make Links) and select Modifiers.

Python:

bpy.ops.object.make_links_data(type='MODIFIERS')
stacker
  • 38.9k
  • 31
  • 144
  • 245