Post #4053: Command tab:

📋 Metadata

🏷️ Tags

macro scripting intermediate solved

  • Macro Editor
  • Python Scripting

💬 Content

Command tab:

bpy.ops.mesh.vertex_color_add(); C.active_object.data.vertex_colors[-1].name = 'Random Colors'

Change the name inside the quotations if you need a different one


❤️ 3 likes


🔗 View on Blender Artists