Inputs
importInstance : ImportInstance
view : View
layerNames : string[] (optional)
lineStyleMap : string[] (optional)
Outputs
DetailCurve[][] : DetailCurve[][]
layerKeys[] : string[]
Description
Convert curves from a CAD Link or Import to Revit Detail Lines using the import instance layer names as filters.
Curves are output in sublists based on their layer name and mapped to the Lines Line Style to prevent unwanted CAD Line Styles from entering your project. Alternatively, Line Style names can be input to map each curve sublist to that style during conversion. Layer names can be input to filter and convert only curves on those layers. To convert all layers, leave the layerNames input unconnected. Input layerNames and lineStyleMap are case-sensitive.
The node is optimised to convert-curve types that typically fail when using Dynamo’s Element.Curves node or Revit’s Explode tool for enhanced performance. The node also circumvents the 10,000 element limit set by Revit for greater workflow flexibility.
Features
Convert curves from CAD Links or Imports to Revit Detail Curves
Curves can be filtered by layer name
Line Style names can be input to map Line Styles to curves from each layer
Optimised to convert curves that normally fail using standard Dynamo nodes or Revit Explode
Circumvents Revit’s 10k merged element limit