Drop columns from excel based on the coordinates

Hello Forum,
i made a script to draw elements from excel with coordinates, the columns should be on grid 1,2 but it’s turn with angle and offset from the base point.

Dynamo uses the internal Revit coordinate system. You’ll have to take into account the model transform to get things to line up.