Post #1287:
Wa
π Metadata
- Author: roaoao
- Date: 2018-03-30 00:38:43
- Type:
answer - Quality Score: 8/10
- Reply to: post_01286
π·οΈ Tags
pie-menu popup-dialog python-scripting intermediate solved
βοΈ Related PME Features
- Custom tab
- Python Scripting
- Property Editor
- Popup Dialog Editor
π¬ 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