Post #1295: Can anyone help me, I have thoroughly confused myself. How do I make a property

📋 Metadata

  • Author: Way2Close
  • Date: 2018-03-30 16:48:23
  • Type: question
  • Quality Score: 5/10

🏷️ Tags

macro python-scripting intermediate unsolved

  • Macro Editor
  • Python Scripting
  • Property Editor

💬 Content

Can anyone help me, I have thoroughly confused myself. How do I make a property button, but also have it do something else afterwards?
I tried this in the custom tab but it fails

L.prop(C.object.data, “show_edge_crease”); bpy.context.scene.d_vars.d_crease = C.object.data.show_edge_crease


🔗 View on Blender Artists