Post #2990: You are using strings instead of numbers?
📋 Metadata
- Author: roaoao
- Date: 2020-01-25 14:19:32
- Type:
answer - Quality Score: 6/10
- Reply to: post_02988
🏷️ Tags
macro intermediate python-scripting
⚙️ Related PME Features
- Macro Editor
- Python Scripting
💬 Content
You are using strings instead of numbers?
setattr(C.object.data, "auto_smooth_angle", 0.2617993950843811) if E.alt == True else [setattr(object.data, "auto_smooth_angle", 0.2617993950843811) for obj in C.selected_objects]
❤️ 2 likes