CurvesFromCADLayers

Inputs

importInstance : ImportInstance
layerNames : string[] (optional)
createModelLines : bool (optional)
lineStyleMap : string[] (optional)

Outputs

Curve[][] : Curve[][] or ModelCurve[][]
layerNameKeys[] : string[]


Description

Convert curves from a CAD Link or Import to Dynamo curves or Revit Model Lines using the import instance layer names as filters.

Layer names can be input to filter and convert only curves on those layers. Curves are output in sublists based on their layer name and mapped to the Lines Line Style to prevent unwanted CAD styles from entering your Revit project. Alternatively, Line Style names can be input to map each sublist to that style during conversion. 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

Extract curves from CAD Links or Imports and filter by layer name

Revit Model Lines can be created directly

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 element limit from import geometry


User Guide


Download

Download Example Graph

Bimorph Digital Engineering and Software Development Consultancy London