I'm trying to apply rotation and scale to all objects, but blender apparently doesn't recognize its own functions.
I've copied this answers code and get the following error: 'Object' object has no attribute 'transform_apply'
For such a simple function there seems to be little speak of it, I suppose because no one else is having trouble with it. How do I figure out what's the problem?
import bpy
for obj in bpy.context.selected_editable_objects:
bpy.ops.object.transform_apply(location=False, rotation=True, scale=True)