Using the All Elements of Category node in a Workshared project returns elements that are non-editable.
In the attached RVT file there are only 4 Walls in the Model. Using the All Elements of Category node, however, returns 6 objects. Examining the ElementID’s of the last two objects in the RVT file indicates that they are on the Wall Types Workset. This is further clarified in the Watch node of Get Phases. The final two entries are “Empty List”.
That’s just an FYI.
Challenge now is how to exclude the Empty List items. Ultimately I want to be able to select all Walls, actually all Families, in the model and write the Phase Created parameter to another Parameter (Comments, etc.). I can use Get from List and Is Empty List? to return a boolean but I don’t know how, yet, to create a lists of booleans using this method. Some sort of recursive node I imagine but I haven’t quite gotten there. If I had a list of booleans I should be able to use Filter by Boolean Mask to parse out the non-editable elements in the list.
So, two questions;
- How do I select all Families (System, etc.) in the model without a bunch of Category/All Elements from Category/Join Lists nodes?
- In a Workshared file (which every file I touch is/will be) how do I exclude the built-in, and non-editable, Worksets?