# Setting snapping from Python

**URL:** <https://blenderartists.org/t/setting-snapping-from-python/1593498>\
**Category:** Python Support\
**Created:** [May 16, 2025, 7:17am UTC](https://blenderartists.org/t/setting-snapping-from-python/1593498 "2025-05-16T07:17:00Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Andrej](https://blenderartists.org/user_avatar/blenderartists.org/andrej/32/914017_2.png) [@Andrej](https://blenderartists.org/u/Andrej)\
**Post date:** [May 17, 2025, 5:55am UTC](https://blenderartists.org/t/setting-snapping-from-python/1593498/6 "2025-05-17T05:55:05Z")

</div>

Oh, I see what you mean. It looks like those two properties are using the same memory under the hood leading to this overriding effect when set from Python API. If it is so I’m not sure if there’s anything we can do right now, besides accessing Blender internals in some hacky way.

I think this can be considered a bug and you can report it to Blender ([https://projects.blender.org/blender/blender/issues](https://projects.blender.org/blender/blender/issues)). Then maybe it will get fixed in the next version or they also might suggest some workaround for now.

```auto
bpy.context.scene.tool_settings.snap_elements_base = {"INCREMENT"}
bpy.context.scene.tool_settings.snap_elements_individual = {"FACE_PROJECT"}
bpy.context.scene.tool_settings.snap_elements_base
{'INCREMENT'}
bpy.context.scene.tool_settings.snap_elements_individual
# {'FACE_PROJECT'}
bpy.context.scene.tool_settings.snap_elements_base
# set()

```

---

_[View the full topic](https://blenderartists.org/t/setting-snapping-from-python/1593498)._
