Hello @ahmadkhalaf7892, currently you are not really checking if you have any kind of intersection, that’s why you are failing to get intersection geometry and you should try to do that. I did a similar script a while ago that could give you inspiration for your future endeavours
ElementIntersect.dyn (24.7 KB)
P.S in order for Element.Location node to work you need to change the column style to -Slanted - End Point Driven, then you will be able to get a column generating curve that can be used later for intersecting geometry recovery.
you can change it back after you are done
Also, currently. the script will work if your columns are already clashing, otherwise, just extend the curve