# How to change a python script which was distributed via blender?

I am having some problems with Smart UV Project (Smart UV project creates overlapping uv-coordinates).

The wiki says that Smart UV Project searches seams and uses them to unwrap the mesh (https://www.blender.org/manual/render/blender_render/textures/mapping/uv/unwrapping.html#smart-uv-project).

The script for that is written in python (why not in C/C++? That could be a lot faster because the algorithm could be parallelized.) and is located here Blender\2.75\scripts\startup\bl_operators\uvcalc_smart_project.py. In Line 494 to 498 edge_seams is set. I also want to mark the edges as seams so that they are highlighted in the viewport.

But when I change something in the script (just a simple print("test")) I can't use Smart UV Project anymore because I get a lot of error messages when starting blender.

search for unknown operator 'OBJECT_OT_subdivision_set', 'OBJECT_OT_subdivision_
set'
search for unknown operator 'OBJECT_OT_subdivision_set', 'OBJECT_OT_subdivision_
set'
search for unknown operator 'OBJECT_OT_subdivision_set', 'OBJECT_OT_subdivision_
set'
search for unknown operator 'OBJECT_OT_subdivision_set', 'OBJECT_OT_subdivision_
set'
...
location: <unknown location>:-1