Post #5027: Hi, Is there a way to make line of codes into string Property then call it in ot

📋 Metadata

  • Author: mcjamall07
  • Date: 2024-02-03 16:21:38
  • Type: question
  • Quality Score: 7/10
  • Replies (1): post_05030

🏷️ Tags

macro python-scripting intermediate unsolved

  • Macro Editor
  • Property Editor
  • Python Scripting

💬 Content

Hi, Is there a way to make line of codes into string Property then call it in other PME menu?

turn L.scale_x = 1.5; L.scale_y = 1.5 as props().LabelSizeXY_15

to be something like this

L.row(align=False).prop(props(), “Camera1Property”, expand=True, emboss=True); props().LabelSizeXY_15

imageimage746×126 13.3 KB


🔗 View on Blender Artists