Post #2559: ![](https://blenderartists.org/user_avatar/blenderartists.org/raphaelbarros/48/1

πŸ“‹ Metadata

🏷️ Tags

macro property-usage intermediate solved

  • Property Editor
  • Macro Editor
  • Python Scripting

πŸ’¬ Content

RaphaelBarros:

Is there any way to use the β€œProperty” item so each value gives a variable a different value?

You can use vector int property (property size=2) in this case (example):

bpy.ops.image.new('EXEC_DEFAULT', True, width=props("MySizeProperty")[0], height=props("MySizeProperty")[1])

πŸ”— View on Blender Artists