Hi I used a bit of python script from Konrad Sobon to collect all the loaded doors in the project.
But this collects curtain wall doors and normal doors in one list. I would like to know if there is a way to split this list so I can have a list of curtain wall doors and normal doors.
Personally for instances I ask if the door has a location and filter based on that boolean, but that certainly works well too. I would recommend putting a âFamilyType.FamilyNameâ node instead of the String From Object node as this will get more consistent results.
This might be a bit faster for grouping the two, but it wonât tell you right away which group is curtain and which is basic, so you have to do some additional testing on the first item in the first list to confirm if it has a location. If so then that is the basic list and the other is the curtain wall list, otherwise theyâre reversed.
I made a quick adjustment. Previously I filtered only on Instances. But what if there is a Door Type Loaded which can be used in Curtain panels, but isnât used. The previous script would skip those. So I checked the Door Family and the Door - Curtain Wall Families and it seems the Curtain Wall Door donât have the Parameter âWall Closureâ, so I used that to filter the types into Normal and Curtain.
Reading the first post it appears the user is after door types, not the door instances so the initial collection isnât correct. I didnât realize this at first, so the prior examples might not work (they appear to be trying to build a library of doors in the file).
This graph will find the desired data and will likely be a good bit quicker than the other options so far.
As I understand it, the curtain panels donât âliveâ on the wall, they are defined but are defined by the limits of the grids, and are technically a âpartâ of the curtain wall element. You cannot create a curtain panel without a curtain wall (even if itâs classified as a door).
Do you know how Iâd regroup the family type as the grouped families? Actually quite confusing because some of the family types are the same family must be a different way to separate curtain door wall from normal doors with family type⌠or maybe not. Dictionaryâs???
Subsequent List.GroupBy nodes should do the trick, but I donât quite get the question. Can you post a fleshed out example in a new thread (this is 2+ years old and already solved)?