curves : Curves or ModelCurves or DetailCurves
retainByLineStyles : string (optional)
deleteRevitCurves : bool (optional)
cleanedCurves : Curves or ModelCurves or DetailCurves
duplicateCurves : Curves or ModelLines or DetailLines
report : string
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.
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