I am now trying to update that script so that Dynamo uses All elements of type from All Categories except one (or eventually two). Can someone help me with that because I have no idea how to make that?
I mean is there some node like elements.filter by name but that it filters by category? I would then first filter elements by category and then after by name.
Eventually I found in Rhythm package something that could help me. I managed to select all parameters inside the model (All Elements of type), and used that as input for Rhythm node (ElementFilter.ByCategory) where I would like that node filter all parameters inside the model except (doesnotcontain) inside Air Terminals. Is that possible on this way? I don’t know how to setup filter method inside Rhythm node. Please see attachment:
I managed to produce dynamo script based on my idea, but I have a problem on last step. When I filter parameters according to my inputs I use Tool.Eraser nood to delete them all from file, but it seems that it isn’t working. Anyone has a clue why?
In graph 1 you don’t have elements, but parameters and their values.
In graph 2 you’re selecting parameter elements (note the green highlighted numbers). This is removing them from walls, floors, pipe and duct fittings… they just don’t exist anymore. Attach the same project parameter to a wall and a duct, then try and remove it from just the duct manually. I think this will clarify the issue for you.
Is there any node that transfers parameters (graph 1) to parameter elements (graph 2)?
The thing is that I want to remove parameter elements, but not all of them… And first I filter the categories where I don’t want to remove anything… In graph 2 I don’t know how to exclude deletion from some categories. I attached the whole non working script.