''' Give me Python code that can import multiple OBJ into Blender ''' import bpy import os # Set the directory path where the OBJ files are located directory_path = "path/to/obj/files" # Get a list of all OBJ files in the directory obj_files = [f for f in os.listdir(directory_path) if f.endswith(".obj")] # Loop through each OBJ file and import it into Blender for obj_file in obj_files: # Set the file path for the OBJ file obj_path = os.path.join(directory_path, obj_file) # Import the OBJ file bpy.ops.import_scene.obj(filepath=obj_path, axis_forward='Y', axis_up='Z')