Filter only walls with an edited profile


#1

is there a method to filter for walls with an edited profile?


#2

While I do not believe there is a direct way to do this in the API, there is a cool trick with Springnodes.

Essentially, you need to try to get the sketch of the walls with Springs.Collector.ElementSketch. This node will output an empty list if there is no sketch, (the wall has not been modified). We can then use this logic to filter the list of walls.


#3

great minds…I had thought of that, but I have run into a situation where that node doesn’t work. it doesn’t work on linked elements.

definitely gonna remember that for a different script.


#4

Reviving this thread as there was some cool discussion over at RevitForum about this new node.

It looks like we can use a method from TheBuildingCoder to see if the wall has related elements. The springnodes implementation uses the same concept, but has a lot more functionality for grouping the curves.

This in turn allowed me to make this.

I will publish it in the next Rhythm update.