What is the object type of Cube?



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?


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.