Post #5030: Is your LabelSizeXY_15 a string? You could achieve this using eval() or `exe
📋 Metadata
- Author: Pluglug
- Date: 2024-02-03 20:27:18
- Type:
answer - Quality Score: 7/10
- Reply to: post_05027
- Replies (1): post_05032
🏷️ Tags
⚙️ Related PME Features
- Property Editor
- Python Scripting
💬 Content
Is your LabelSizeXY_15 a string? You could achieve this using eval() or exec(), but it feels like an awkward solution. Wouldn’t this approach work?
L.scale_x = L.scale_y = props('my_float_property'); L.row().prop(props(), 'my_enum_property', expand=True)
❤️ 1 likes