Importing multiple mesh at once

I’m trying to import 100s of mesh at once trying to make this breaking effect.

When I try importing as FBX it gave me this error


And all the object dimension are 0.00,0.00.0,00

When I tried importing other import method it gave me this error.
image

How can I fix this?

Can you give me a screenshot of your shading tab, I need to see your texture setup.


All of the mesh have this same texture

1 Like

Hi there,

This will fix it:

Open the scripting tab in blender and add this script:

import bpy

def has_zero_vertices_and_faces(obj):
    if obj.type == 'MESH':
        if len(obj.data.vertices) == 0 and len(obj.data.polygons) == 0:
            return True
    return False

for obj in bpy.context.scene.objects:
    if has_zero_vertices_and_faces(obj):
        obj.select_set(True)
    else:
        obj.select_set(False)


bpy.ops.object.delete()

print("Removed all objects with 0 vertices and 0 faces.")

This will remove every object with 0 vertices an 0 faces.

If you don’t know how to run a script in Blender, you could use google to find information about that.

1 Like

What is “Untitled”, it could be the texture resolution or that you are trying to export a mesh with a texture instead of exporting the texture separately