DWG 2D to Revit 3D columns-Python script creates no elements - Matching CAD layers to Revit Types
Hello everyone,
I’m trying to automate placing structural columns from a CAD file. My goal is to match each column’s CAD layer name to a corresponding Family Type in Revit and then create the instance at the correct location.
My Dynamo graph successfully extracts 308 center points and 308 corresponding layer names (e.g., “C-500x900”). My final Python script takes the points, layer names, all Revit column types, and the level. It’s supposed to loop through, convert the layer name to a Revit type name (e.g., “500 x 900 mm”), find the matching type, and create the column.
The script runs without any errors but produces an empty list, and no columns are created in Revit. I’ve confirmed the text conversion logic seems correct. What could be causing the script to fail silently without creating any elements?
Also, do you have other methods to automate modeling columns from an AutoCAD plan, placing each type in its correct location without manual intervention or selections from me?