Post #4920: Hello,
📋 Metadata
- Author: Pluglug
- Date: 2023-12-05 17:14:23
- Type:
answer - Quality Score: 8/10
- Reply to: post_04919
- Replies (1): post_04921
🏷️ Tags
property-editor python-scripting intermediate solved
⚙️ Related PME Features
- 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.contextallows 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
themesbutthemes['Default']. -
Target Data in View3D : Within this, you can find the
face_retopologyproperty.
❤️ 2 likes