I want to pull data from a bpy.ops command, something like
for x in bpy.data.objects:
if x.name in bpy.context.view_layer.objects.keys():
bpy.context.view_layer.objects.active = x
bpy.ops.mesh.select_non_manifold((extend=True, use_wire=True, use_boundary=True)
and follow it up with commands like
a = bpy.data.objects['obj'].data.total_edge_sel
to grab non-manifold edge data (other other data gatherable if the model were in edit mode) without throwing the model into edit mode. Currently I'm getting out of context errors (the model is in Object Mode. I understand why the error, but...)
Is something like this it possible without flashing 200+ mesh objects into edit mode to get the data?
EDIT: Thanks for the info batFINGER, the report is starting to take shape!
'Model Name: 00000000DE66'
'Model Armature: 00000000DE66_Skeleton'
'Armature Bone Count: 377'
'Number of Bones Without Vertex Groups: 28'
'Armature Scene Rotation Mode: XYZ'
'Armature Rotation: (90.0, 0.0, 0.0)'
'Number of Bones Layers: 1'
'Number of Mesh Objects in Model: 9'
'Number of Vertices in Model: [10188, 178, 264, 1598, 226, 92, 1740, 396, 226]'
'Number of Vertex Groups in Model: 349'
"Number of Vertex Groups That Don't have Bones: None"
'Number of Vertices Influenced By More Than 3 Bones: 1175'
'Number of Vertices Not Weight Painted: 0'
'Number of Materials: 8'
'Model Name: Sesshomaru'
'Model Armature: Sesshomaru_arm'
'Armature Bone Count: 204'
'Number of Bones Without Vertex Groups: 44'
'Armature Scene Rotation Mode: XYZ'
'Armature Rotation: (0.0, 0.0, 0.0)'
'Number of Bones Layers: 3'
'Number of Mesh Objects in Model: 1'
'Number of Vertices in Model: [9599]'
'Number of Vertex Groups in Model: 162'
"Number of Vertex Groups That Don't have Bones: 2"
'Number of Vertices Influenced By More Than 3 Bones: 2905'
'Number of Vertices Not Weight Painted: 0'
'Number of Materials: 30'
```