Post #5030: Is your LabelSizeXY_15 a string? You could achieve this using eval() or `exe

📋 Metadata

🏷️ Tags

intermediate solved

  • 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


🔗 View on Blender Artists