Post #370: 
- Add your main popup dialog and use downloaded file as an external script in Custom tab:
Titles only:
execute_script("scripts/custom_tabs.py", names=["Popup Dialog 1", "Popup Dialog 2"])
Titles and icons:
execute_script("scripts/custom_tabs.py", names=["Popup Dialog 1", "Popup Dialog 2"], icons=['MESH_CUBE', 'SOLID'])
Icons only:
execute_script("scripts/custom_tabs.py", names=["Popup Dialog 1", "Popup Dialog 2"], icons=['MESH_CUBE', 'SOLID'], icon_only=True)
To find icon names you can use built-in “Icons” addon.
If you want to use 2+ radio button groups in the same popup dialog, you need to specify the unique id for them:
execute_script("scripts/custom_tabs.py", id="123456789", names=["Popup Dialog 1", "Popup Dialog 2"])
Attachments
custom_tabs.zip (609 Bytes)