Post #4758: Hi, is it possible to get a pie menu editor boolean or enum property inside a re
📋 Metadata
- Author: Dangry
- Date: 2023-06-27 14:01:18
- Type:
question - Quality Score: 7/10
- Replies (1): post_04759
🏷️ Tags
macro python-scripting intermediate unsolved
⚙️ Related PME Features
- Pie Menu Editor
- Macro Editor
- Property Editor
- Python Scripting
💬 Content
Hi, is it possible to get a pie menu editor boolean or enum property inside a regular python script? For instance if the property SmartUVSync is = True I would like to do something like this in a separate python script when pressing a keybind:
if props().SmartUVSyncProp == true:
execute operation
else:
execute operation

But I have not been able to get the value of the property inside a regular python script? Is it possible? Or Is there any way to get it to work with Getter, Setter instead?