Post #4759: From the fact that the preview shows props().SmartUVSyncProp, I assume that yo
📋 Metadata
- Author: Pluglug
- Date: 2023-06-27 15:26:10
- Type:
answer - Quality Score: 8/10
- Reply to: post_04758
- Replies (1): post_04760
🏷️ Tags
v1-18-7 pie-menu properties beginner solved
⚙️ Related PME Features
- Property Editor
- Store in Addon Preferences
💬 Content
From the fact that the preview shows props().SmartUVSyncProp, I assume that your Property is only available in the Pie Menu Editor.
You can make it available to external scripts by using the option `Store in Addon Preferences’.
Please refer to this post to set it up.
Pie Menu Editor 1.18.7 Released Scripts and Themes
I am not an expert, and I will do my best to provide accurate information. Please be aware that there may be inaccuracies or unclear expressions in my explanation. If you find any mistakes in my explanation, please feel free to point them out. When you click the “Store in Addon Preferences” option, a selection screen like the one in the image appears. This is asking you where to save the data. [Pasted image 20230502012231] The list displayed here consists of subclasses called ID subclasses,…
Here is an example of a store in Scene
import bpy
scene = bpy.context.scene
if scene.SmartUVSyncProp:
print("Property is True")
else:
print("Property is False")
❤️ 1 likes
image752×693 54.5 KB