I am working on writing a script that will delete duplicate area boundary lines in a view. I’m not sure what approach to take with this.
I am able to Get Elements by Category/Level for the Category of AreaSchemeLines on Level 1…
I read this article and watched the related video on ‘Isolating Revit Warnings by Category with Dynamo’ : https://www.youtube.com/watch?v=ngJ3efR7yCc and http://archi-lab.net/isolating-revit-warnings-by-category-wdynamo/
I also looked at this link about ‘Remove Duplicate Revit Elements From List.dyf’ on Github about https://github.com/CAAD-RWTH/ClockworkForDynamo/blob/master/nodes/0.6.3/Remove%20Duplicate%20Revit%20Elements%20From%20List.dyf but I am not able to find this through a search in my Dynamo application. I do have Clockwork for Dynamo 0.7.x and Rhythm 2015.10.0 and archi-lab.net 2015.10.11 and I am running Dynamo version 0.8.2.2392 (I see a red 0.9.0.0 underneath)
I also am trying to understand what this does: Point.PruneDuplicates but I haven’t found much yet.
So I understand that in Revit, to fix this I would launch the warnings dialogue and then check a single element in the related warning dialogue and delete the element. In Dynamo, would I call the Area scheme lines, somehow convert the model curves to vectors then use the vector.pruneduplicates node? Would I call the warnings then isolate by type of “Highlighted lines overlap. Lines may not form closed loops” then filter a deletion process by some sort of delete 1 of two elements filter?
I would appreciate any advice. I am having a hard time wrapping my head around this.