It is also very convenient to create columns through existing CAD blocks, provided that existing blocks have been placed in the CAD file. Note that they are blocks, not lines or polylines.
Some people also say that Revit already has the function of placing columns by selecting the axis grid. It is true, and it is very convenient, but there is one thing, the columns placed by selecting the axis grid are all centered. Although the columns are centered in most cases, it is possible that some columns need to be moved in a few cases, in which case they are not centered. Another point is that the column selection places columns at the intersection of all axis grids, while the script places the columns according to the existing CAD columns. Finally, only one type can be placed at a time, but the script can distinguish them by dividing the CAD layers of the columns and selecting different family types in Revit.