Post #4920: Hello,

📋 Metadata

🏷️ Tags

property-editor python-scripting intermediate solved

  • Property Editor
  • Python Scripting

💬 Content

Hello,

PME does not automatically generate a path to Preferences, so we need to search for it manually. Please enter the following code in the Property tab of the slot:

bpy.context.preferences.themes['Default'].view_3d.face_retopology

Watch this video for guidance. In Blender’s console, you can use the Tab key to get suggestions for input.

  • Start with bpy.context : bpy.context allows you to access Blender’s current state, including user settings and configurations.

  • Access Preferences : Here, you can access various environment settings. In this case, we’re looking for themes.

  • According to the Suggestions : It seems you should write not just themes but themes['Default'].

  • Target Data in View3D : Within this, you can find the face_retopology property.


❤️ 2 likes


🔗 View on Blender Artists