Post #5088: Hey Pluglug ![:slight_smile:](https://blenderartists.org/images/emoji/twitter/sl

📋 Metadata

  • Author: Adam_Szalai
  • Date: 2024-04-09 11:36:27
  • Type: question
  • Quality Score: 6/10
  • Replies (1): post_05089

🏷️ Tags

macro python-scripting intermediate unsolved

  • Macro Editor
  • Python Scripting

💬 Content

Hey Pluglug :slight_smile:
I try to macro these setting:

imageimage275×666 48 KB

but macro (and both python) is switching to the last set snap type.
If its:
bpy.context.scene.tool_settings.snap_elements_base = {‘VERTEX’}
then sets only vertex snap, if its:
bpy.context.scene.tool_settings.snap_elements_individual = {‘FACE_PROJECT’}
then it sets to Face Project
and no idea how can i set them both as i can do manually (shift click)

Thank You for the help in advance :slight_smile:


🔗 View on Blender Artists