I have this script:
for obj in scene.objects: if "prop" in obj: obj.doWhatever();
This loops through every object on the scene until it finds those who have the “prop” property.
Can I somehow specify if I want to loop through objects with certain types like Empty or objects with a certain name only?
And if I can specify that, does that help the performance a bit, to loop through just a selected few objects or is there no difference?