Post #4759: From the fact that the preview shows props().SmartUVSyncProp, I assume that yo

📋 Metadata

🏷️ Tags

v1-18-7 pie-menu properties beginner solved

  • 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

imageimage752×693 54.5 KB

import bpy

scene = bpy.context.scene

if scene.SmartUVSyncProp:
    print("Property is True")
else:
    print("Property is False")

❤️ 1 likes


🔗 View on Blender Artists