Post #2514: return C.object and C.object.type in (‘MESH’,) and C.region_data.is_perspective
📋 Metadata
- Author: roaoao
- Date: 2019-07-10 17:08:23
- Type:
answer - Quality Score: 8/10
- Reply to: post_02513
- Replies (1): post_02515
🏷️ Tags
⚙️ Related PME Features
- Python Scripting
💬 Content
return C.object and C.object.type in (‘MESH’,) and C.region_data.is_perspective
Note that we need to add a comma to create a tuple with one element - ('MESH', )