I’ve never scripted before. I have a complex scene with many objects and selection is difficult. I’m dreaming of a script that selects those objects that are touching a user-selected object. I’m thinking maybe getting the bounding box of the first object then somehow selecting those objects that intersect that bounding box ? Depending on the geometry those might not actually be physically in contact with the first. just very close. I can figure out filtering options later, but that first part : pick object --> get bounding box --> get all scene objects --> filter by intersection with bounding box of first, has me stumped.
Can anyone kindly make me smarter ?
Thanks!