Post #2955: When I click on the ‘Wire’ item in the Display as dropdown while holding Alt, it
📋 Metadata
- Author: anphung
- Date: 2020-01-09 10:37:13
- Type:
question - Quality Score: 6/10
- Replies (1): post_02957
🏷️ Tags
macro scripting beginner unsolved
⚙️ Related PME Features
- Macro Editor
- Python Scripting
💬 Content
When I click on the ‘Wire’ item in the Display as dropdown while holding Alt, it applies to multiple objects at once, could you show me how to translate that to a command? I assume a ‘for’ loop would be the way, but I’ve no idea how to do it. Thank you, @roaoao
bpy.context.object.display_type = ‘WIRE’
