📋 Metadata

💬 Content

Way2Close:

Is it possible to draw a property using a condition I tried this but it doesn’t work lol

C.object.data.show_extra_edge_length if C.active_object.mode == "EDIT" else None

In this case you need to use Custom tab:

L.prop(C.object.data, "show_extra_edge_length") if C.active_object.mode == "EDIT" else None

🔗 View on Blender Artists