Has anyone played around with searching the object tree in XRay or MRI? What I’m envisioning is being able, for example, to search for ‘Object 1’ and get a listing of occurrences from the initial object down. Before looking into ‘reversing’ XRay/MRI a little I thought I’d ask. It’s a very niche idea, I know, and perhaps my interest really is in a summer project to see how reflection works a little in UNO, but it’s not worth doing if there are ways readily available. If the option is right there in XRay/MRI/DevTools, I’m not seeing it.
IIUC, there’s no such option; and it’s worth being cautious that there are multiple loops in such trees - and those loops are hard to detect, e.g. because the UNO objects may not be the same for the same underlying model data - like it’s the case for cell range: you have a cell range; its tree includes separate cell ranges for cells; each cell is own cell range- and it includes a property pointing to cell range representing this cell - but that is a different cell range UNO object, so you can’t just have a “if Child == Parent” check.