What is the object type of Cube?

modeling

#1

How do I select all the cubes in the scene? Assuming that all the objects have been renamed from Cube.XXX and don’t have word cube in them?


#2

You should post these kinds of questions in Blender stack exchange.

Anyways, not sure what you’re asking, but:

import bpy

for ob in bpy.data.objects:
//your code for checking names, etc.