📋 Metadata

💬 Content

draguu:

hey man . is it possible to not to show button in popup . with if condition ,

like if object has materials then only show buttons , or if transparancy is on if ob.active_material.use transparent == True: then only show this button ,

Is it possible ?

Yes, you can do it in Custom tab.
I’ll post an example if you show me the code you use for that Materials panel.


🔗 View on Blender Artists