I have this graph that create new filters based on parameters values.
It was working fine, but somehow it has started doing something very weird…
Everytime I use it instead of creating new filters to the project it replace the ones I created before.
I have no idea why this is happening.
Graph attached and image.
ThanksCreate filters based on parameters values(0).dyn (11.2 KB)
Offsetting building pads to topo
Are you closing Dynamo between each filter or are you trying to create multiple filters in the same session of Dynamo? You’ll need to close the graph between each run in order to commit the changes to Revit, otherwise Dynamo will “update” every time you run the graph and not save the previous Revit changes.
I have close dynamo, close Revit, Uninstall Dynamo and Install it again, change the Name of the variable…
Nothing seems to work…
Can you try running the script through Dynamo Player?
I think you want to use GroupByKey and not SortByKey as well. Right now you’re creating a filter for every element not every value. You also need to make sure you’re only getting each parameter once per value for your filter rule.
Yes I am going to try that and see if it works.
I don’t understand what is going on.
If I either sort or group the elements, the filter is replaced.
If I don’t do it the new filters are added.
If I dont sort the elements the filters come in revit in an arbitrary order.
Does anyone know how to fix this problem???
Is there any workaround??? Using different nodes?