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

📋 Metadata

  • Author: draguu
  • Date: 2016-12-24 01:58:03
  • Type: question
  • Quality Score: 6/10
  • Replies (1): post_00484

🏷️ Tags

pie-menu popup-dialog conditional-display intermediate

  • Pie Menu Editor
  • Popup Dialog Editor
  • Python Scripting

💬 Content

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 ?

look you will get an idea of what i mean

http://pasteall.org/pic/show.php?id=110443

and here is one with single material

http://pasteall.org/pic/show.php?id=110444


🔗 View on Blender Artists