Great information on list management. I have a problem where I am trying to use the LunchBox Package to Query all the floor plates and, eventually, all walls that I design into my floor plan. Basically I want to extract the top face of each floor plate so I can go ahead with running analysis with Intersection functionality. In the image, each list represents the solid floor plate and the nested sub-list is the faces of each.
The LunchBox plugin also allows to get the edge curves from the floor plate. I tried a lot of different options including to do “Surface by Patch” to get at the top surface.
I understand you can do “Select Element Face” when querying Revit geometry but I am looking for an automated approach to update when I have finished modifying my design. I am working with floors right now to understand the concept, but I want to ultimately be able to work with my walls built in Revit to help trim down my geometry and run intersection analysis for a camera sensor array system.
So in the image, I am trying to get the 5th item in the sub-list index without having to flatten the entire list structure to get at the faces I want.
When I get to working with walls, I would want to be able to query just the outside 2 faces of the wall and not the 4 surrounding faces that comprise its thickness.
I posted here because my biggest question is about querying indexed items within a nested sub-list.