Thanks for the pointer on the rewritten select statement. That’s elegant.
BTW, I found it challenging to get started with the usage of LayoutQuery because the syntax for the select statements is not documented in the API docs (or I couldn’t fin…
I ended up using a LayoutQuery, like this:
select_string = "select cell.name, cell.cell_index, path_trans.disp.x, path_trans.disp.y from instances of ...* \
where path_trans.disp.x >= {0} \
&& path_trans.disp.x <= {1} \
…
The RecursiveShapeIterator solution is what I'm doing currently. Since it runs at the "shape" level, I'm guessing that it might run faster if I could traverse just the instance hierarchy information without having to query for every shape…