Remove seams from object script

I’ve changed an existing code for clearing all seams from all objects, but it doesn’t work for some reason. I’m not really into python or anything like that.

import bpy

for object in bpy.data.objects:
    if object.type == 'MESH':
        for edge in object.data.edges:
            edge.use_seam_mark = False

How stupid of me to even come here and ask for help when it was so simple, no wonder you guys didn’t want be involved in such a issue so beneath your intellect and experience that you couldn’t even notice the code at all.

import bpy

for object in bpy.data.objects:
if object.type == ‘MESH’:
for edge in object.data.edges:
edge.use_seam = False

nice worked out, sometimes it takes a few days to get answer :slight_smile: