Post #5423: I also enjoy discussing these kinds of topics. From what I understand, you want

📋 Metadata

🏷️ Tags

v1-18-8 popup-dialog custom-ui advanced unsolved

  • Popup Dialog Editor
  • Python Scripting
  • Custom UI Layout
  • Popup Area
  • Popup Window

💬 Content

I also enjoy discussing these kinds of topics. From what I understand, you want to reconstruct Blender’s existing UI and data into your own custom UI? I think this is possible to some extent.

You may have already checked these, but here are some hints:

  1. In the UILayout page of the API reference, you can find methods available for PME’s custom tabs. The template_* series (e.g., template_list, template_ID) might be particularly interesting.
    UILayout(bpy_struct) - Blender Python API

  2. When you enable Prefs>Interface>Developer Extras, Edit Source (bpy.ops.ui.editsource) will be added to the context menu in the UI. This allows you to observe how the actual UI is constructed.

As for the modifier panel, the alt+space panel from Modifier List might be the best we can do, but it’s worth trying.

Also, the new PME documentation I’m working on might be helpful.

Scripting — Pie Menu Editor 1.18.8 documentation

For your needs, pme.popup_area might be suitable, although unfortunately, the size adjustment is broken. However, I want to keep this feature because it has an excellent “auto close” option for temporary use.

I’m currently developing bpy.ops.pme.popup_window() which works on Windows only. You can try it in the latest build of the fix/popup-area-size-control branch. I’m not promoting it much since it’s a personal project. If I get a Mac and can implement cross-platform support, it might become an official feature. Also, hearing your scenario has given me some ideas I’d like to add.

Lastly, here’s a lesson I’ve learned over the years: customization is fun, but don’t forget to create artwork.

Feel free to ask if you have any questions.


❤️ 6 likes


🔗 View on Blender Artists