How to rotate structural columns instances to face normal vector?

Hi all thanks for looking,


I am trying to use the “structural framing.ColumnByCurve” node to insert columns on a wall face.I cannot work out how to orientate them to the face normal.

I have generic model family which is rotating correctly but the columns rotation changes depending on which wall I select.

Image above shows outcome of running script on each wall face separately.

  1. Columns Correctly orientated when placed.
  2. Columns Incorrectly oriented when placed, and NOT rotated.
  3. Columns Incorrectly oriented when placed, and Incorrectly rotated to the face normal.
  4. Generic models Correctly rotated to face normal.

How can I orientated all the inserted column instances to the face normal?

family_grid_by_face.rvt (1.6 MB)
family_grid_by_face.dyn (300.5 KB)

(Post edited to show screenshots)

Best.

Hi :slight_smile:

I think you’re more likely to receive help on the forum if you post screenshots of your graph, errors and desired outcome. It’s hard to find users willing to download and open the Revit and dyn file just to troubleshoot

Understood, thank you.

I have edited the post to include screenshots and explanations. Thank you for the advise.

1 Like