Post #523: ![](https://blenderartists.org/user_avatar/blenderartists.org/emboo2/48/567944_2

📋 Metadata

  • Author: roaoao
  • Date: 2017-02-16 11:12:16
  • Type: answer
  • Quality Score: 8/10
  • Reply to: post_00522

🏷️ Tags

popup-dialog custom-scripting intermediate solved

  • Popup Dialog Editor
  • Custom Tab
  • Python Scripting

💬 Content

emboo2:

Can you do that for vertex groups too?

Use this code in Custom tab:

ob = C.active_object; L.template_list("MESH_UL_vgroups", "", ob, "vertex_groups", ob.vertex_groups, "active_index", rows=2, maxrows=5)

🔗 View on Blender Artists