Delete Line Style Sub-Categories

HI all,
I am having difficulty with this graph. Basically what I want to do is remove all of the Line Styles in the project that are not contained in a list.
I have used the Categories and Get Sub-Categories, filtered the list to remove the categories i want to keep, but i cant seem to delete the ones remaining.
I know that some of the remaining sub-cats are Revit defaults and cannot be removed. You will see 4 “Rubbish” line styles that i want to get rid of, which i cant.

Any help is appreciated

Hi @Andrew_Harp,

You’re trying to delete strings and not elements. It’s probably the “Element list” output that you should connect to the Delete Elements node.

1 Like