Timeline for List of objects in scene with counts (verts, faces, tris)?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 12, 2014 at 22:25 | vote | accept | Biene Maja | ||
Jul 7, 2014 at 8:09 | history | edited | Flavio | CC BY-SA 3.0 |
Some code fixes for a cleaner version suggested by @ideasman42 * 2
|
Jul 7, 2014 at 8:04 | comment | added | Flavio | Thanks for the feedback and fixes. I'll update my post. But I was using "in" so he can include something else than the meshes if needed. But it's clearer with the other test. Sorry @BieneMaja, so far I don't know how to get the count including the modifiers... without applying them... I'll think about it. | |
Jul 5, 2014 at 13:58 | comment | added | Biene Maja | Thanks for the answers! Is there a way to include modifiers? | |
Jul 4, 2014 at 19:20 | comment | added | ideasman42 |
3 issues in this example, no need to call list() , and use bpy.context.scene.objects , not bpy.data.objects , if element.type not in ("MESH") is also incorrect. != 'MESH' is fine here. no need to call __str__.__contains__
|
|
Jul 4, 2014 at 19:07 | comment | added | CodeManX | Note that this isn't the actual count of geometric elements on screen - modifiers are not included. | |
Jul 4, 2014 at 16:01 | history | answered | Flavio | CC BY-SA 3.0 |