Is there a better way to copy a modifier with all attributes from active object to selected object through python scripting other than adding a modifier to selected and copy attributes one by one (with dictionary for example) from active?
The problem is some attributes are read-only (even if it makes no sense - like for example subdivision algorithm in Subsurf modifier) and i don't know how to set them through python script. So i can't copy that subdivision algorithm value from one to another through scripting with method setting a value for an attribute:
bpy.data.objects[object_name].modifiers[modifier_name].attribute_name = attribute_value
So to reiterate my question: is there any other way to add a modifier to an object that would allow setting up values for all attributes?