So I've been a programmer for a long time, and a modeler for a while now, and I've just gotten started on using Python in Blender. One thing bugs me about the interface and I'm hoping I'm just overlooking it.
To select an object of name 'Sphere', we would use code like this:
And if 'Sphere' has a single child object, named, say, 'Cube', then we would do this:
but unfortunately, this would not work:
Nor this, which would be even more ideal:
However, this would still work:
with the additional restraint that no two objects, regardless of relative location, can have the same name.
Is it even possible to find something by scene graph path like that?