RemoveDuplicates

Inputs

curves : Curves[] or ModelCurves[] or DetailCurves[]
retainByLineStyles : string[] (optional)
deleteRevitCurves : bool (optional)

Outputs

cleanedCurves[] : Curves[] or ModelCurves[] or DetailCurves[]
duplicateCurves[][] : Curves[][] or ModelLines[][] or DetailLines[][]
report[] : string[]


Description

Removes duplicates from a list of Curves. Dynamo Curves, Revit Model or Detail Lines are all supported.

Revit Curves have optional inputs to delete any duplicates from the document and input LineStyle names can be used to retain the duplicate curve of that style. LineStyle lists are iterated until a match is found. If no match is found, first-in first-out rules apply. Note that LineStyle names are case-sensitive.

To simplify model element selection in Revit when using the Dynamo Select Model Elements node, heterogeneous lists (any Revit element type) can be input as the node filters the list for curves before processing.


Features

Remove duplicates from a list of curves

Dynamo Curves, Revit Model or Detail Lines are all supported

Revit Curves can be deleted from the document

Line Style names can be input to retain Revit curves of that style

Heterogeneous lists can be input when processing Revit elements


User Guide


Download

Download Example Graph

Bimorph Digital Engineering and Software Development Consultancy London