Error Structural Framing Placing reference from Curved Floors

I have scripts for placing based on Grids. but i tried to modify the cuvred floor . this script now working. Please advise, than
structuralFramingGrid.dyn (158.9 KB)
ks

i want to place the structural framing in Base level of column.

And that Beam should not travel in straight intersection of column i looking to travel along with parallel curved floor(Inclined ) intersections of columns.

Note: column and Curved Floor already present in the Revit File

hi its almost impossible to help without a rvt sample file